Skip to main content

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

Initializes a new instance of the InvalidRowExceptionEventArgs class.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public InvalidRowExceptionEventArgs(
    GridViewBase view,
    int rowHandle,
    string errorText,
    string windowCaption,
    Exception exception,
    ExceptionMode exceptionMode
)

Parameters

Name Type Description
view GridViewBase

A GridViewBase descendant that represents the grid’s view.

rowHandle Int32

An integer value that specifies the handle of the row that failed validation. This value is assigned to the RowEventArgs.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