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 Class

Applied to business classes and their properties. Declares a conditional appearance rule.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.Persistent.Base.v24.2.dll

#Declaration

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = true)]
public class AppearanceAttribute :
    Attribute,
    IAppearanceRuleProperties,
    IAppearance

#Remarks

The Appearance attribute is declared in the Conditional Appearance Module. This module allows you to disable/enable, show/hide and change the look and feel of properties in List Views, Property Editors, Layout Items, Layout Groups and Actions based on business rules. The Appearance attribute is used to declare these business rules. The Declare Conditional Appearance Rules in Code topic contains a detailed explanation on how to use this attribute.

#Inheritance

Object
Attribute
AppearanceAttribute
See Also