InvalidRowExceptionEventArgs(GridControlBase, Int32, String, String, Exception, ExceptionMode) Constructor

Initializes a new instance of the InvalidRowExceptionEventArgs class.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v18.2.dll


public InvalidRowExceptionEventArgs(
    GridControlBase grid,
    int rowHandle,
    string errorText,
    string windowCaption,
    Exception exception,
    ExceptionMode exceptionMode
Public Sub New(
    grid As GridControlBase,
    rowHandle As Integer,
    errorText As String,
    windowCaption As String,
    exception As Exception,
    exceptionMode As ExceptionMode


Type Name Description
GridControlBase grid

A GridControlBase descendant that represents the grid.

Int32 rowHandle

An integer value that specifies the handle of the row that failed validation. This value is assigned to the RowHandle property.

String errorText

A String value that specifies the error description. This value is assigned to the InvalidRowExceptionEventArgs.ErrorText property.

String windowCaption

A String value that specifies the caption of the error window. This value is assigned to the InvalidRowExceptionEventArgs.WindowCaption property.

Exception exception

A Exception object representing the exception that raised the event. This value is assigned to the InvalidRowExceptionEventArgs.Exception property.

ExceptionMode exceptionMode

An ExceptionMode enumeration value that specifies how an exception should be handled. This value is assigned to the InvalidRowExceptionEventArgs.ExceptionMode property.

See Also