Back to Devexpress

IRuleBaseProperties.TargetType Property

expressappframework-devexpress-dot-persistent-dot-validation-dot-irulebaseproperties-540c7c2f.md

latest1.6 KB
Original Source

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

NuGet Package : DevExpress.Persistent.Base

Declaration

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

Property Value

TypeDescription
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

IRuleBaseProperties Interface

IRuleBaseProperties Members

DevExpress.Persistent.Validation Namespace