Skip to main content
A newer version of this page is available. .

IRuleBaseProperties.CustomMessageTemplate Property

Specifies a custom informational text that is displayed in a validation error message for a broken Validation Rule, instead of the default message templates specified by the MessageTemplate… properties.

Namespace: DevExpress.Persistent.Validation

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

Declaration

string CustomMessageTemplate { get; set; }

Property Value

Type Description
String

A string holding a custom informational text that is displayed in a validation error message for a broken Validation Rule.

Remarks

This property has the RulePropertiesLocalized attribute applied. So, the corresponding property of the Application Model is considered localizable.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CustomMessageTemplate property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also