Skip to main content
.NET 6.0+

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.v23.2.dll

Declaration

[Required]
[TypeConverter(typeof(RuleBasePropertiesTargetTypeConverter))]
Type TargetType { get; set; }

Property Value

Type Description
Type

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

Remarks

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

See Also