Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RuleValueComparisonAttribute.TargetPropertyName Property

Specifies the target collection’s element property that must be checked by the current rule.

Namespace: DevExpress.Persistent.Validation

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

#Declaration

public string TargetPropertyName { get; set; }

#Property Value

Type Description
String

A string holding the name of the target collection’s element property that must be checked by the current rule.

#Remarks

Built-in validation rules can be applied to a collection property involved in a relationship (marked with the Association attribute). In this instance, a validation rule ensures that each collection element is valid. An element’s property that must be checked is specified via the TargetPropertyName named parameter.

See Also