Skip to main content
.NET Framework 4.5.2+

IModelAppearanceRule Members

The AppearanceRule node defines a particular conditional appearance rule.

Properties

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.

Methods

Name Description
AddNode<NodeType>() Adds a new child node of a specific type. Inherited from IModelNode.
AddNode<NodeType>(String) Adds a new child node of a specific type with a specific identifier. Inherited from IModelNode.
ClearValue(String) Resets the node’s property value to the value specified in the previous Application Model layer. Inherited from IModelNode.
GetNode(Int32) Gets the child node with a specific index. Inherited from IModelNode.
GetNode(String) Gets the child node with a specific identifier. Inherited from IModelNode.
GetValue<ValueType>(String) Returns the value of the node’s specified property. Inherited from IModelNode.
HasValue(String) Indicates whether the node’s property has a value assigned. Inherited from IModelNode.
Remove() Removes the current node. Inherited from IModelNode.
SetValue<ValueType>(String, ValueType) Changes the value of the node’s specified property. Inherited from IModelNode.
See Also