IAppearanceRuleProperties.AppearanceItemType Property
Specifies the type of UI elements affected by the conditional appearance rule.
Namespace: DevExpress.ExpressApp.ConditionalAppearance
Assembly: DevExpress.Persistent.Base.v24.1.dll
NuGet Package: DevExpress.Persistent.Base
Declaration
Property Value
Type | Description |
---|---|
String | The string representation of an AppearanceItemType enumeration value specifying the type of UI elements affected by the conditional appearance rule. |
Remarks
The UI elements affected by a conditional appearance rule are specified by the AppearanceItemType and IAppearanceRuleProperties.TargetItems properties. The following are the possible values for the AppearanceItemType rule property:
-
If the AppearanceItemType parameter is set to this value, the rule affects the business class property(ies) specified by the IAppearanceRuleProperties.TargetItems property. Depending on the IAppearanceRuleProperties.Context property value, the business class property(ies) is affected in List Views and/or Detail Views. In List Views, the rule affects the corresponding cells both in view and edit mode. In Detail Views, the rule affects the corresponding Property Editors. Static Text Detail View Items can be affected as well.
Note that currently, only Grid List Editors and Tree List Editors for Windows Forms and ASP.NET Web Forms applications support conditional appearance.
-
If the AppearanceItemType property is set to this value, the rule affects the Layout Item(s), Groups() and Tabbed Group(s) specified by the IAppearanceRuleProperties.TargetItems property.
-
If the AppearanceItemType property is set to this value, the rule affects the Action(s) specified by the IAppearanceRuleProperties.TargetItems property.
For details, refer to the Declare Conditional Appearance Rules in the Application Model topic.