Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IRuleBaseProperties.TargetContextIDs Property

Specifies the Contexts for checking the current Validation Rule.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v20.2.dll

Declaration

[Required]
[TypeConverter(typeof(DefaultValidationContextsConverter))]
string TargetContextIDs { get; set; }

Property Value

Type Description
String

A string representing a list of identifiers of the contexts when the current rule should be checked.

Remarks

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TargetContextIDs 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.

See Also