Skip to main content
.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.v22.2.dll


string TargetContextIDs { get; set; }

Property Value

Type Description

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


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.


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