Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

EditRowViewModel.ValidateCell Event

In This Article

Validates the edited cell’s new value.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

#Declaration

C#
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