Skip to main content
A newer version of this page is available. .

VGridControlBase.CellValueChanging Event

Fires in response to changing the edit value.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v19.1.dll

Declaration

public event CellValueChangedEventHandler CellValueChanging

Event Data

The CellValueChanging event's data class is CellValueChangedEventArgs. The following properties provide information specific to this event:

Property Description
CellIndex Gets the processed cell’s index. Inherited from RowCellEventArgs.
RecordIndex Gets the index of the record containing the processed cell. Inherited from RowCellEventArgs.
Row Gets the processed row. Inherited from RowEventArgs.
Value Gets the current cell’s value.

Remarks

The CellValueChanging event is raised each time the edited value is being changed (a user types or deletes a character, chooses a value from the dropdown list, etc.). This event parameter’s properties identify the row and record that contain the edited cell and its current value.

Note

The CellValueChanging event doesn’t fire when changing cell values in code. Handle this event if you need to provide an immediate response to end-user actions.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CellValueChanging event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also