Back to Devexpress

EditRowViewModel.ValidateCell Event

maui-devexpress-dot-maui-dot-datagrid-dot-editrowviewmodel-380633ea.md

latest1.7 KB
Original Source

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

csharp
public event EventHandler<ValidateCellEventArgs> ValidateCell

Event Data

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

PropertyDescription
ErrorContentGets or sets the validation error description.
FieldNameReturns the field name of the column that contains the cell whose value is being edited.
ItemReturns the data source object that is used to create the processed cell’s row.
NewValueReturns the editor’s value.
OldValueReturns the cell’s value before editing is started.
RowHandleReturns the handle of the row that contains the cell whose value is being edited.

See Also

EditRowViewModel Class

EditRowViewModel Members

DevExpress.Maui.DataGrid Namespace