IRuleCollectionPropertyProperties.MessageTemplateTargetDoesNotSatisfyCollectionCriteria Property

Specifies the message displayed when the Validation Rule was not checked because a validated object is not an element of the target collection.

Namespace: DevExpress.Persistent.Validation

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

Declaration

string MessageTemplateTargetDoesNotSatisfyCollectionCriteria { get; set; }
Property MessageTemplateTargetDoesNotSatisfyCollectionCriteria As String

Property Value

Type Default Description
String

"The "{Id}" rule was not checked because the target is not an element of the "{Tar" + "getCollectionOwnerType}.{TargetCollectionPropertyName}" collection."

A string specifying the message displayed when the Rule was not checked because a validated object is not an element of the target collection.

When using the ShowAllContexts Action, the invoked window shows the broken rules grouped by contexts. Double-click a context to invoke a Detail View for it. In the Detail View, you will be able to see the list of all rules checked in the current context. The text that is set for this property will be written for those rules that are not checked because the validated object is not an element of the target collection. For additional information, refer to the Collection Validation topic.

See Also