Skip to main content
.NET Framework 4.6.2+

IModelAppearanceRule Properties

The AppearanceRule node defines a particular conditional appearance rule.
Name Description
AppearanceItemType Specifies the type of UI elements affected by the conditional appearance rule. Inherited from IAppearanceRuleProperties.
Application Provides access to the Application Model‘s root node. Inherited from IModelNode.
Attribute Provides access to the AppearanceAttribute defining the conditional appearance rule represented by the AppearanceRule node.
BackColor Specifies the background color of UI elements affected by the conditional appearance rule. Inherited from IAppearance.
Context Specifies the Views in which the conditional appearance rule is in effect. Inherited from IAppearanceRuleProperties.
Criteria Specifies the criteria string used when determining whether IAppearanceRuleProperties.TargetItems should be affected by the conditional appearance rule. Inherited from IAppearanceRuleProperties.
DeclaringType Gets the target type of the appearance rule. Inherited from IAppearanceRuleProperties.
Enabled Specifies whether UI elements affected by the conditional appearance rule must be enabled. Inherited from IAppearance.
FontColor Specifies the font color of UI elements affected by the conditional appearance rule. Inherited from IAppearance.
FontStyle Specifies the font style of UI elements affected by the conditional appearance rule. Inherited from IAppearance.
Index Specifies the order index by which nodes are arranged. Inherited from IModelNode.
Method Specifies the name of the business class method used to determine whether the Conditional Appearance rule is currently active. Inherited from IAppearanceRuleProperties.
MethodNames Specifies the possible method names to which the AppearanceAttribute can be applied.
NodeCount Gets the number of child nodes. Inherited from IModelNode.
Parent Provides access to the parent node. Inherited from IModelNode.
Priority Specifies the volume of the conditional appearance rule. Used when several rules affect the same UI element. Inherited from IAppearance.
Root For internal use only. Inherited from IModelNode.
TargetItems Specifies the identifiers of UI elements affected by the conditional appearance rule. Inherited from IAppearanceRuleProperties.
Visibility Specifies the visibility of UI elements affected by a conditional appearance rule. Inherited from IAppearance.
See Also