Skip to main content

InvalidRowExceptionEventArgs.ExceptionMode Property

Gets or sets a value that specifies how an exception should be handled.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public ExceptionMode ExceptionMode { get; set; }

Property Value

Type Description

An ExceptionMode enumeration value that specifies how an exception should be handled.

Available values:

Name Description

Displays an error message box with text specified by the ErrorText property. Use the WindowCaption property to specify the message box’s caption.


Throws an exception. Use the Exception property to get this exception.


Displays an error icon and does not allow users to focus other rows until values are corrected.


Ignores an exception and raises RowCanceled.


Use the ExceptionMode property to specify the action performed when a row fails validation. You can display a message box with an error description, suppress an action, throw an exception, or ignore the validation result.

See Also