Back to Devexpress

IRuleBaseProperties Members

expressappframework-devexpress-dot-persistent-dot-validation-dot-irulebaseproperties-dot-underscore-members.md

latest3.7 KB
Original Source

IRuleBaseProperties Members

Declares members implemented by classes which represent Validation Rules‘ properties exported to the Application Model.

Properties

NameDescription
CustomMessageTemplateSpecifies custom informational text displayed in a validation error message for a broken Validation Rule instead of the default message templates specified in the MessageTemplate… properties.
IdSpecifies the Validation Rule identifier.
InvertResultSpecifies whether the Validation Rule is applied directly.
MessageTemplateSkipNullOrEmptyValuesSpecifies the template for the message displayed when the Validation Rule was not checked because the target properties are not specified.
MessageTemplateTargetDoesNotSatisfyTargetCriteriaSpecifies the template for the message displayed when the Validation Rule was not checked because the criteria specified by the RuleBaseProperties.TargetCriteria property is not satisfied by the validated object.
NameSpecifies the name of the Validation Rule.
ResultTypeSpecifies the application behavior when the rule is broken.
SkipNullOrEmptyValuesSpecifies whether the Validation Rule is checked for the properties that are set to null, an empty string (for string type properties) or a minimal date (for DateTime type properties).
TargetContextIDsSpecifies the Contexts for checking the current Validation Rule.
TargetCriteriaSpecifies the criteria that must be satisfied by the validated object to allow checking the Validation Rule.
TargetTypeSpecifies the type of the object for which the Validation Rule will be checked.

See Also

IRuleBaseProperties Interface

DevExpress.Persistent.Validation Namespace