Skip to main content

EditRowViewModel.ValidateCell Event

Validates the edited cell’s new value.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public event EventHandler<ValidateCellEventArgs> ValidateCell

Event Data

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

Property Description
ErrorContent Gets or sets the validation error description.
FieldName Returns the field name of the column that contains the cell whose value is being edited.
Item Returns the data source object that is used to create the processed cell’s row.
NewValue Returns the editor’s value.
OldValue Returns the cell’s value before editing is started.
RowHandle Returns the handle of the row that contains the cell whose value is being edited.
See Also