Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ValidationEventArgs.ErrorType Property

Gets or sets the error icon type.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public ErrorType ErrorType { get; set; }

#Property Value

Type Description
ErrorType

One of the ErrorType enumeration values.

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ErrorType property.

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