InvalidRowExceptionEventArgs Class
Provides data for the GridControlBase.InvalidRowException event.
Namespace: DevExpress.UI.Xaml.Grid
Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
Remarks
The GridControlBase.InvalidRowException event allows you to override the default error presentation. This event occurs after the GridControl.ValidateRow event (provided that the focused row’s validation has failed).
The event parameter’s InvalidRowExceptionEventArgs.ExceptionMode property allows you to specify the action performed in response to entering an invalid value. You can display a message box with an error description, suppress any action, throw an exception or discard new data and revert to an old value. The error description can be specified using the InvalidRowExceptionEventArgs.ErrorText property.
An exception that raised this event is returned by the InvalidRowExceptionEventArgs.Exception property.
To learn more, see Row Validation.