Applied to business classes and their properties. Declares a conditional appearance rule.
[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
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.