Skip to main content
.NET 8.0+

RuleStringComparisonProperties.MessageTemplateMustContain Property

Specifies the text that will be displayed in the Validation Error window when the Validation Rule is broken. In effect if the StringComparisonType.Contains.

Namespace: DevExpress.Persistent.Validation

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

Declaration

[RulePropertiesIndex(3)]
public string MessageTemplateMustContain { get; set; }

Property Value

Type Description
String

A string holding the text that will be displayed in the Validation Error window when the Validation Rule is broken.

See Also