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

AppearanceAttribute Class

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

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.Persistent.Base.v19.1.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