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.v22.2.dll
NuGet Package: DevExpress.Persistent.Base
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TargetType property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.