The requested page is not available for the requested platform. You are viewing the content for Default platform.

RuleRangeProperties Class

Represent the RuleRange Validation Rules' properties exported to the Application Model.

Namespace: DevExpress.Persistent.Validation

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

Declaration

[DomainComponent]
[RulePropertiesIndexed]
public class RuleRangeProperties :
    RulePropertyValueProperties,
    IRuleRangeProperties,
    IRulePropertyValueProperties,
    IRuleCollectionPropertyProperties,
    IRuleBaseProperties,
    IRuleSupportsCollectionAggregatesProperties
<DomainComponent>
<RulePropertiesIndexed>
Public Class RuleRangeProperties
    Inherits RulePropertyValueProperties
    Implements IRuleRangeProperties,
               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.

Inheritance

Implements

DevExpress.Persistent.Validation.IRuleRangeProperties
DevExpress.Persistent.Validation.IRulePropertyValueProperties
See Also