ExceptionMode Enum
Specifies how an exception should be handled.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ExceptionMode enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.