The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

RuleUniqueValueAttribute.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.v19.2.dll

Declaration

public string TargetPropertyName { get; set; }
Public Property TargetPropertyName As String
public string TargetPropertyName { get; set; }
Public Property TargetPropertyName As String
public string TargetPropertyName { get; set; }
Public Property TargetPropertyName As String

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.

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.

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