Skip to main content

EditRowViewModel.ValidateCell Event

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

Declaration

public event DataGridValidationEventHandler ValidateCell

Event Data

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

Property Description
ErrorContent Gets or sets the validation error description.
FieldName Gets the field name of the column that contains the cell whose value is being edited.
Item Gets an object that specifies a data source record to which the grid’s row containing the currently edited cell corresponds.
NewValue Gets the editor’s value.
OldValue Gets the cell’s value before editing is started.
RowHandle Gets the handle of the row that contains the cell whose value is being edited.
See Also