Skip to main content

ExceptionMode Enum

Lists values that specify how an exception should be handled.

Namespace: DevExpress.Xpf.Grid

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

#Declaration

public enum ExceptionMode

#Members

Name Description
DisplayError

Displays an icon, and a tooltip or 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

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

Ignore

Discards new data and reverts to an old value.

#Passed To

You can pass ExceptionMode values to the following properies:

#Remarks

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

See Also