TreeListInvalidNodeExceptionEventArgs.ExceptionMode Property

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

Namespace: DevExpress.Xpf.Grid.TreeList

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


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 a message box, with an error description specified by the InvalidRowExceptionEventArgs.ErrorText property. The message box’s caption can be specified using the InvalidRowExceptionEventArgs.WindowCaption property.


Throws an exception specified by the InvalidRowExceptionEventArgs.Exception property.


Displays an error icon and allows an end-user to correct or reset an invalid value.


An exception is ignored.


Use the ExceptionMode property to specify the action performed when a node has failed validation. You can describe the error and display it in a message box, suppress any action, throw an exception or discard all the changes made.

See Also