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.1.dll

Syntax

[Required]
Type TargetType { get; set; }

Returns

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.