Skip to main content

InvalidRowExceptionEventArgs Class

Provides data for the ColumnView.InvalidRowException event.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public class InvalidRowExceptionEventArgs :
    ExceptionEventArgs

Remarks

The ColumnView.InvalidRowException event occurs when the focused row fails validation or if it cannot be saved to the data source. You can handle the event to discard changes that cannot be accepted, raise an exception, display an error message box or provide any other desired response. InvalidRowExceptionEventArgs object properties allow you to specify the contents of the error message box, identify the error that failed validation, access exception information and enable one of the predefined responses.

Inheritance

Object
EventArgs
ExceptionEventArgs
InvalidRowExceptionEventArgs
See Also