Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IRuleBaseProperties.CustomMessageTemplate Property

Specifies 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.

Namespace: DevExpress.Persistent.Validation

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

Declaration

string CustomMessageTemplate { get; set; }

Property Value

Type Description
String

Custom informational text displayed in a validation error message for a broken Validation Rule.

Remarks

This property is decorated with the RulePropertiesLocalized attribute and specifies the localizable value.

Refer to the CustomMessageTemplate property description for more information on custom message templates.

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