Back to Devexpress

IAppearanceRuleProperties.Context Property

expressappframework-devexpress-dot-expressapp-dot-conditionalappearance-dot-iappearanceruleproperties-9c070457.md

latest2.4 KB
Original Source

IAppearanceRuleProperties.Context Property

Specifies the Views in which the conditional appearance rule is in effect.

Namespace : DevExpress.ExpressApp.ConditionalAppearance

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

NuGet Package : DevExpress.Persistent.Base

Declaration

csharp
string Context { get; set; }
vb
Property Context As String

Property Value

TypeDescription
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.

ContextAppearance Rule’s Activity ScopeExample
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

Conditional Appearance (Manage UI State)

IAppearanceRuleProperties Interface

IAppearanceRuleProperties Members

DevExpress.ExpressApp.ConditionalAppearance Namespace