Back to Devexpress

IRuleBaseProperties.MessageTemplateTargetDoesNotSatisfyTargetCriteria Property

expressappframework-devexpress-dot-persistent-dot-validation-dot-irulebaseproperties-41a41962.md

latest2.5 KB
Original Source

IRuleBaseProperties.MessageTemplateTargetDoesNotSatisfyTargetCriteria Property

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

Namespace : DevExpress.Persistent.Validation

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

NuGet Package : DevExpress.Persistent.Base

Declaration

csharp
[DefaultValue("The \"{Id}\" rule was not checked because the target object does not satisfy rule's target criteria.")]
string MessageTemplateTargetDoesNotSatisfyTargetCriteria { get; set; }
vb
<DefaultValue("The ""{Id}"" rule was not checked because the target object does not satisfy rule's target criteria.")>
Property MessageTemplateTargetDoesNotSatisfyTargetCriteria As String

Property Value

TypeDefaultDescription
String"The "{Id}" rule was not checked because the target object does not satisfy rule's target criteria."

Specifies the template for the message displayed when the Validation Rule was not checked because the criteria specified by the TargetCriteria property is not satisfied by the validated object.

|

Remarks

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

See Also

TargetCriteria

IRuleBaseProperties Interface

IRuleBaseProperties Members

DevExpress.Persistent.Validation Namespace