The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridRowValidationEventArgs Class

Provides data for the GridControl.ValidateRow event.

Namespace: DevExpress.UI.Xaml.Grid.Native

Assembly: DevExpress.UI.Xaml.Grid.v19.1.dll

Declaration

public class GridRowValidationEventArgs :
    ValidationEventArgs
Public Class GridRowValidationEventArgs
    Inherits 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