Back to Devexpress

InvalidRowExceptionEventArgs Class

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-7e80baf0.md

latest2.3 KB
Original Source

InvalidRowExceptionEventArgs Class

Provides data for the ColumnView.InvalidRowException event.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public class InvalidRowExceptionEventArgs :
    ExceptionEventArgs
vb
Public Class InvalidRowExceptionEventArgs
    Inherits ExceptionEventArgs

InvalidRowExceptionEventArgs is the data class for the following events:

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

InvalidRowExceptionEventArgs Members

InvalidRowException

DevExpress.XtraGrid.Views.Base Namespace