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

ExceptionEventArgs.ExceptionMode Property

Gets or sets the type of response to supplying invalid values.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.1.dll


public ExceptionMode ExceptionMode { get; set; }

Property Value

Type Description

A ExceptionMode enumeration value specifying the response type.

Available values:

Name Description

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


Throws an exception specified by the ExceptionEventArgs.Exception property.


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


Discards new data and reverts to an old value.


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.


Use the ExceptionMode property to specify the action performed in response to entering an invalid value. You can display a message box/tooltip with a specific error description, suppress any action, throw an exception or discard new data and revert to an old value.

See Also