.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

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.v20.1.dll

Declaration

[DefaultValue("The \"{Id}\" rule was not checked because the target is not an element of the \"{TargetCollectionOwnerType}.{TargetCollectionPropertyName}\" collection.")]
string MessageTemplateTargetDoesNotSatisfyCollectionCriteria { get; set; }
<DefaultValue("The ""{Id}"" rule was not checked because the target is not an element of the ""{TargetCollectionOwnerType}.{TargetCollectionPropertyName}"" collection.")>
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 "{TargetCollectionOwnerType}.{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.

Remarks

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