.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

ValidationResultType Enum

Contains values that specify the validation rule result type (error, warning or information).

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v21.2.dll

Declaration

public enum ValidationResultType

Members

Name Description
Error

An error dialog is displayed when a rule is broken. A user must modify data in order to fix the error and proceed.

Warning

A warning dialog is displayed a rule is broken. A user can ignore this warning and proceed.

Information

No dialog is displayed when a rule is broken. Instead, an information glyph appears near the rule’s target property in UI. Broken rule details are available in this glyph’s tooltip.

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