Back to Devexpress

EditRowViewModel.ValidateCell Event

mobilecontrols-devexpress-dot-xamarinforms-dot-datagrid-dot-editrowviewmodel.md

latest2.0 KB
Original Source

EditRowViewModel.ValidateCell Event

Namespace : DevExpress.XamarinForms.DataGrid

Assembly : DevExpress.XamarinForms.Grid.dll

NuGet Package : DevExpress.XamarinForms.Grid

Declaration

csharp
public event DataGridValidationEventHandler ValidateCell

Event Data

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

PropertyDescription
ErrorContentGets or sets the validation error description.
FieldNameGets the field name of the column that contains the cell whose value is being edited.
ItemGets an object that specifies a data source record to which the grid’s row containing the currently edited cell corresponds.
NewValueGets the editor’s value.
OldValueGets the cell’s value before editing is started.
RowHandleGets the handle of the row that contains the cell whose value is being edited.

See Also

EditRowViewModel Class

EditRowViewModel Members

DevExpress.XamarinForms.DataGrid Namespace