Skip to main content

GridRowValidationEventArgs Class

Provides data for the GridControl.ValidateRow event.

Namespace: DevExpress.UI.Xaml.Grid.Native

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public class GridRowValidationEventArgs :
    ValidationEventArgs

Remarks

Row validation is performed within the GridControl.ValidateRow event handler, when a row is about to lose focus. The processed row is returned by the GridRowValidationEventArgs.Row property. Its handle is returned by the GridRowValidationEventArgs.RowHandle property. After cell values have been obtained, you can verify whether the values meet your validity criteria. If the row fails validation, set the event’s ValidationEventArgs.IsValid parameter to false. Otherwise, leave the ValidationEventArgs.IsValid parameter set to true.

To learn more, see Row Validation.

Inheritance

Object
DevExpress.UI.Xaml.Editors.Native.EventArgsBase
ValidationEventArgs
GridRowValidationEventArgs
See Also