Skip to main content
A newer version of this page is available. .

InvalidRowExceptionEventArgs Class

Provides data for the ColumnView.InvalidRowException event.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.1.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the InvalidRowExceptionEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
EventArgs
ExceptionEventArgs
InvalidRowExceptionEventArgs
See Also