Skip to main content
.NET Framework 4.5.2+

Validator.RuleSet Property

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

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v22.1.dll

Declaration

public static RuleSet RuleSet { get; }

Property Value

Type Description
RuleSet

A RuleSet object which specifies the Validation Rules declared in an application.

Remarks

You can use methods of the object returned by the RuleSet property, to perform validation in custom Contexts. To learn how to do this, refer to the Implement Custom Contexts topic.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RuleSet 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