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 |
---|---|
Error |
Gets or sets the validation error description. |
Field |
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. |
New |
Gets the editor’s value. |
Old |
Gets the cell’s value before editing is started. |
Row |
Gets the handle of the row that contains the cell whose value is being edited. |