Skip to main content
A newer version of this page is available. .

AppearanceAttribute Properties

Applied to business classes and their properties. Declares a conditional appearance rule.
Name Description
AppearanceItemType Specifies the type of UI elements affected by the conditional appearance rule created using this attribute.
BackColor Specifies the background color of UI elements affected by the conditional appearance rule generated from this attribute instance.
Context Specifies the Views representing the activity scope for the conditional appearance rule generated from the current attribute.
Criteria Specifies the criteria string used when determining whether AppearanceAttribute.TargetItems should be affected by the conditional appearance rule generated from the current attribute.
DeclaringType This property is intended for internal use.
Enabled Specifies whether to enable UI elements affected by the conditional appearance rule generated from this attribute instance.
FontColor Specifies the font color of AppearanceAttribute.TargetItems affected by the conditional appearance rule generated from this attribute instance.
FontStyle Specifies the font style of AppearanceAttribute.TargetItems affected by the conditional appearance rule generated from this attribute instance.
Id Specifies the unique identifier for the appearance rule created using the current attribute instance.
Method Specifies the name of the business class method used to determine whether the Conditional Appearance rule generated from this attribute is currently active.
Priority Specifies the priority of the conditional appearance rule generated from the current attribute instance. Used when several rules affect the same UI element.
TargetItems Specifies the identifiers of UI elements affected by the conditional appearance rule.
TypeId When implemented in a derived class, gets a unique identifier for this Attribute. Inherited from Attribute.
Visibility Specifies the visibility of UI elements affected by the conditional appearance rule generated from this attribute instance.
See Also