The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.1.dll

Declaration

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
)

Parameters

Name Type Description
grid GridControlBase

A GridControlBase descendant that represents the grid.

rowHandle Int32

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

errorText String

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

windowCaption String

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