The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

AppearanceAttribute Class

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

Namespace: DevExpress.ExpressApp.ConditionalAppearance

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

Declaration

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = true)]
public class AppearanceAttribute :
    Attribute,
    IAppearanceRuleProperties,
    IAppearance
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Method Or AttributeTargets.Property Or AttributeTargets.Interface, AllowMultiple:=True)>
Public Class AppearanceAttribute
    Inherits Attribute
    Implements IAppearanceRuleProperties,
               IAppearance
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = true)]
public class AppearanceAttribute :
    Attribute,
    IAppearanceRuleProperties,
    IAppearance
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Method Or AttributeTargets.Property Or AttributeTargets.Interface, AllowMultiple:=True)>
Public Class AppearanceAttribute
    Inherits Attribute
    Implements IAppearanceRuleProperties,
               IAppearance
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = true)]
public class AppearanceAttribute :
    Attribute,
    IAppearanceRuleProperties,
    IAppearance
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Interface Or AttributeTargets.Method Or AttributeTargets.Property, AllowMultiple:=True)>
Public Class AppearanceAttribute
    Inherits Attribute
    Implements 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