Skip to main content
.NET 6.0+

RuleSearchObjectProperties.FoundObjectMessageFormat Property

Specifies the format for the list of found objects.

Namespace: DevExpress.Persistent.Validation

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

Declaration

[RulePropertiesIndex(2)]
public string FoundObjectMessageFormat { get; set; }

Property Value

Type Description
String

A string representing the format for the list of found objects.

Remarks

When the Validation Rule is inverted (RuleBaseProperties.InvertResult is set to true), it will be broken when objects that satisfy the RuleBaseProperties.TargetCriteria are found. In this instance, a list of found objects is displayed in the Validation Error window, if the RuleBaseProperties.CustomMessageTemplate is not specified.

See Also