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

ExceptionMode Enum

Lists values that specify how an exception should be handled.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v17.2.Core.dll

Declaration

public enum ExceptionMode

Members

Name Description
DisplayError

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.

ThrowException

Throws an exception specified by the InvalidRowExceptionEventArgs.Exception property.

NoAction

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

Ignore

An exception is ignored.

Related API Members

The following properties accept/return ExceptionMode values:

Remarks

The values listed by this enumeration are used to set the InvalidRowExceptionEventArgs.ExceptionMode property’s value.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.

See Also