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+

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

Declaration

[Required]
Type TargetType { get; set; }
<Required>
Property TargetType As Type
[Required]
[TypeConverter(typeof(RuleBasePropertiesTargetTypeConverter))]
Type TargetType { get; set; }
<Required>
<TypeConverter(GetType(RuleBasePropertiesTargetTypeConverter))>
Property TargetType As Type
[Required]
[TypeConverter(typeof(RuleBasePropertiesTargetTypeConverter))]
Type TargetType { get; set; }
<Required>
<TypeConverter(GetType(RuleBasePropertiesTargetTypeConverter))>
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.

Property Value

Type Description
Type

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

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