IRuleBaseProperties.TargetType Property

Specifies the type of the object for which the Validation Rule will be checked.

Namespace: DevExpress.Persistent.Validation

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

Declaration

[Required]
Type TargetType { get; set; }
<Required>
Property TargetType As Type

Property Value

Type Description
Type

A Type object which represents the type of the object for which the Validation Rule will be checked.

This property has the RulePropertiesRequired attribute applied. So, the corresponding property of the Application Model cannot be empty.

See Also