Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

InvalidRowExceptionEventArgs Class

Provides data for the ColumnView.InvalidRowException event.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.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