Skip to main content

BaseValidationError.ErrorType Property

Gets the error type.

Namespace: DevExpress.Xpf.Editors.Validation

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public ErrorType ErrorType { get; }

Property Value

Type Description
ErrorType

A ErrorType enumeration value that specifies the error type.

Available values:

Show 14 items
Name Description
None

Indicates that no error is associated with an editor or a cell.

Default

The default error icon: ErrorType_Critical

The DXErrorProvider.GetErrorIcon event is not raised when an error of the Default type is assigned to an editor.

Information

The ‘Information’ icon: ErrorType_Information

Warning

The ‘Warning’ icon: ErrorType_Warning

Critical

The ‘Critical Error’ icon: ErorType_Critical

User1

A user-defined icon to be provided via the DXErrorProvider.GetErrorIcon event.

User2

A user-defined icon to be provided via the DXErrorProvider.GetErrorIcon event.

User3

A user-defined icon to be provided via the DXErrorProvider.GetErrorIcon event.

User4

A user-defined icon to be provided via the DXErrorProvider.GetErrorIcon event.

User5

A user-defined icon to be provided via the DXErrorProvider.GetErrorIcon event.

User6

A user-defined icon to be provided via the DXErrorProvider.GetErrorIcon event.

User7

A user-defined icon to be provided via the DXErrorProvider.GetErrorIcon event.

User8

A user-defined icon to be provided via the DXErrorProvider.GetErrorIcon event.

User9

A user-defined icon to be provided via the DXErrorProvider.GetErrorIcon event.

See Also