Skip to main content
.NET Framework 4.5.2+

RuleSet() Constructor

Initializes a new instance of the RuleSet class.

Namespace: DevExpress.Persistent.Validation

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


public RuleSet()


Normally, one application should have only one RuleSet - Validator.RuleSet. This object is static and you can access it when you need to add or modify global validation rules. Custom RuleSets are not recommended because if you use them, some of your validation rules may be skipped and the validation results will be incorrect.

See Also