Skip to main content

GridRowValidationEventArgs Class

Provides data for the GridViewBase.ValidateRow event.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.dll

#Declaration

public class GridRowValidationEventArgs :
    DataValidationEventArgsBase,
    IDataRowEventArgs

#Remarks

Row validation is performed within the GridViewBase.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 Validating Rows.

#Inheritance

Object
EventArgs
RoutedEventArgs
ValidationEventArgs
DevExpress.Xpf.Grid.DataValidationEventArgsBase
GridRowValidationEventArgs
See Also