A newer version of this page is available. Switch to the current version.

ExceptionMode Enum

Specifies how an exception should be handled.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public enum ExceptionMode
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