Skip to main content
.NET Framework 4.5.2+

RuleCriteriaAttribute.UsedProperties Property

Specifies the names of the properties to be highlighted when the rule generated from the current attribute is broken.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public string UsedProperties { get; set; }

Property Value

Type Description
String

A string holding a comma-separated list of property names that represent the properties to be highlighted when the Validation Rule is broken.

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.

Important

Always define UsedProperties for warning and info rules.

See Also