Skip to main content
A newer version of this page is available. .

ExceptionMode Enum

Specifies how an exception should be handled.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public enum ExceptionMode

Members

Name Description
DisplayError

Displays a tooltip with an error description specified by the ExceptionEventArgs.ErrorText property.

ThrowException

Throws an exception specified by the ExceptionEventArgs.Exception property.

NoAction

Suppresses displaying the message box/tooltip or throwing an exception. The value remains unchanged.

Ignore

Discards new data and reverts to an old value.

Note

In standalone editors, because of the .NET binding mechanism, the Ignore value doesn’t work correctly. In container controls, the Ignore value works as expected.

Related API Members

The following properties accept/return ExceptionMode values:

Remarks

The ExceptionMode type enumerates values for the ExceptionEventArgs.ExceptionMode property. This allows you to specify the manner in which an exception should be handled.

See Also