Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RuleBase Class

Serves as the base class for Validation Rules.

Namespace: DevExpress.Persistent.Validation

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

#Declaration

public abstract class RuleBase :
    IRule,
    ISupportCheckRuleIntegrity,
    IObjectSpaceLink,
    ICaptionHelperProviderLink,
    IRulePropertiesCache

#Remarks

The RuleBase class is the basic abstract class implementing the IRule interface. All the built-in Validation Rules inherit from RuleBase.

You can implement a custom Validation Rule by inheriting from the RuleBase class. To see an example, refer to the Implement Custom Rules topic.

#Inheritance

Object
RuleBase
See Also