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

Validator Class

Provides access to the Validation Rules declared in an XAF application.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public static class Validator

Remarks

The Validator class exposes a single Validator.RuleSet public property. This property returns a RuleSet object representing all the Validation Rules declared in an application. This object’s methods allow you to perform validation in custom Contexts. To learn how to do this, refer to the Implement Custom Contexts topic.

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

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.

Inheritance

Object
Validator
See Also