Skip to main content
.NET Framework 4.6.2+

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

RuleBaseAttribute Properties
Show Inherited Hide Inherited

Represents a base class for validation system attributes.
Name Description
CustomMessageTemplate Specifies informational text that is to be added to the exception message when the current Validation Rule is broken.
InvertResult Specifies whether the current rule should be inverted, to be checked.
Name Specifies a name of the rule created using the current attribute.
ResultType Specifies the application behavior when the rule is broken.
SkipNullOrEmptyValues Specifies whether the current rule is checked for the properties that are set to null (Nothing in VB), an empty string (for string type propeties) or a minimal date (for DateTime type properties).
TargetContextIDs Specifies a context for checking the current Rule.
TargetCriteria Specifies a criterion that must be satisfied by the validated object or property to check rules.
TypeId When implemented in a derived class, gets a unique identifier for this Attribute. Inherited from Attribute.
See Also