Skip to main content

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.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public InvalidRowExceptionEventArgs(
    GridControlBase grid,
    int rowHandle,
    string errorText,
    string windowCaption,
    Exception exception,
    ExceptionMode 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