Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AppearanceAttribute Properties
Show Inherited Hide Inherited

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