IAppearanceRuleProperties.Context Property
Specifies the Views in which the conditional appearance rule is in effect.
Namespace: DevExpress.ExpressApp.ConditionalAppearance
Assembly: DevExpress.Persistent.Base.v24.2.dll
NuGet Package: DevExpress.Persistent.Base
Declaration
Property Value
Type | Description |
---|---|
String | A string that is semicolon separated names of the Views in which the conditional appearance rule is in effect. |
Remarks
The Context property can have the following values.
Context | Appearance Rule’s Activity Scope | Example |
---|---|---|
A predefined context - “DetailView”, “ListView” or “Any”. | Detail Views, List Views or all Views, respectively. | Any |
A semicolon-separated list of View identifiers. | Specified Views only. | MyClass_ListView;MyClass_DetailView |
The “Any” predefined context, followed by a semicolon-separated list of View identifiers. | All Views except the Views specified via View identifiers. | Any;MyClass_ListView;MyClass_LookupListView |
The “DetailView” or “ListView” predefined context, followed by a semicolon-separated list of View identifiers. | All Detail Views or List Views respectively, in addition to Views specified via View identifiers. | DetailView;MyClass_ListView |
See Also