Back to Devexpress

RuleBaseProperties Class

expressappframework-devexpress-dot-persistent-dot-validation-30c083ec.md

latest4.3 KB
Original Source

RuleBaseProperties Class

Serves as the base class for classes which represent Validation Rules‘ properties exported to the Application Model.

Namespace : DevExpress.Persistent.Validation

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

NuGet Package : DevExpress.Persistent.Base

Declaration

csharp
[DomainComponent]
[RulePropertiesIndexed]
public class RuleBaseProperties :
    IRuleCollectionPropertyProperties,
    IRuleBaseProperties
vb
<DomainComponent>
<RulePropertiesIndexed>
Public Class RuleBaseProperties
    Implements IRuleCollectionPropertyProperties,
               IRuleBaseProperties

The following members return RuleBaseProperties objects:

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 custom Properties class inherited from the RuleBaseProperties. For details, refer to the Implement Custom Rules topic.

Implements

IRuleCollectionPropertyProperties

IRuleBaseProperties

Inheritance

Show 15 items

Object RuleBaseProperties RuleCriteriaProperties

RulePropertyValueProperties

RuleSearchObjectProperties

RuleStringComparisonProperties

RuleUniqueValueProperties

RuleValueComparisonProperties

RuleRegularExpressionProperties

RuleRequiredFieldProperties

RuleCombinationOfPropertiesIsUniqueProperties

RuleFromBoolPropertyProperties

RuleIsReferencedProperties

RuleObjectExistsProperties

RuleRangeProperties

See Also

RuleBaseProperties Members

Validation Rules

DevExpress.Persistent.Validation Namespace