RuleBase.UsedProperties Property
Specifies the names of the properties to be highlighted when the current Validation Rule is broken.
Namespace: DevExpress.Persistent.Validation
Assembly: DevExpress.Persistent.Base.v24.2.dll
NuGet Package: DevExpress.Persistent.Base
#Declaration
public virtual ReadOnlyCollection<string> UsedProperties { get; }
#Property Value
Type | Description |
---|---|
Read |
A Read |
#Remarks
The Validation Module can highlight Property Editors in a View when a Validation Rule is broken. If certain properties contain invalid values, their names are specified via this property. In the RuleBase class, this property returns an empty list. To see how to implement this property in your custom rule, refer to the IRule.UsedProperties topic.
Important
Always define the Used