Skip to main content
.NET Framework 4.5.2+

RuleValueComparisonProperties Class

Represent the RuleValueComparison Validation Rules‘ properties exported to the Application Model.

Namespace: DevExpress.Persistent.Validation

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

Declaration

[DomainComponent]
[RulePropertiesIndexed]
public class RuleValueComparisonProperties :
    RulePropertyValueProperties,
    IRuleValueComparisonProperties,
    IRulePropertyValueProperties,
    IRuleCollectionPropertyProperties,
    IRuleBaseProperties,
    IRuleSupportsCollectionAggregatesProperties

Remarks

Information on the Validation Rules declared in the application is saved to the Application Model‘s IModelValidationRules node. Each rule has a corresponding node. These nodes expose properties specifying values for the rules’ properties.

The properties that must be exposed to the Application Model are specified via a rule’s RuleBase.Properties property. This property returns a RuleBaseProperties descendant.

When implementing a custom Validation Rule, you may need to implement a cusom Properties class inherited from RuleBaseProperties. For details, refer to the Implement Custom Rules topic.

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

See Also