Back to Devexpress

VGridControlBase.CellValueChanging Event

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-3526e8d1.md

latest2.7 KB
Original Source

VGridControlBase.CellValueChanging Event

Fires in response to changing the edit value.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

csharp
public event CellValueChangedEventHandler CellValueChanging
vb
Public Event CellValueChanging As CellValueChangedEventHandler

Event Data

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

PropertyDescription
CellIndexGets the processed cell’s index. Inherited from RowCellEventArgs.
RecordIndexGets the index of the record containing the processed cell. Inherited from RowCellEventArgs.
RowGets the processed row. Inherited from RowEventArgs.
ValueGets 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.

See Also

CellValueChanged

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace