Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

Initializes a new instance of the InvalidRowExceptionEventArgs class.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.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