GridControl.ValidateCell Event
Enables you to specify whether the focused cell’s data is valid, and whether the cell’s editor can be closed.
Namespace: DevExpress.UI.Xaml.Grid
Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
Event Data
The ValidateCell event's data class is DevExpress.UI.Xaml.Grid.Native.GridCellValidationEventArgs.
Remarks
The ValidateCell event occurs before the focused cell’s modified value is posted to a data source, allowing to manually validate its new value.
The focused cell’s new value is returned by the event’s CellValue property. To indicate that the new value is invalid, set the ValidationEventArgs.IsValid property to false.
See Also