ThemeableAttribute.Themeable 属性
定义
获取一个值,该值指示当前控件或控件的成员是否受 Web 应用程序中定义的主题和控件外观影响。Gets a value indicating whether the current control or member of a control can be affected by themes and control skins defined for the Web application.
public:
property bool Themeable { bool get(); };
public bool Themeable { get; }
member this.Themeable : bool
Public ReadOnly Property Themeable As Boolean
属性值
如果当前类型或成员受主题影响,则为 true;否则为 false。true if the current type or member can be affected by themes; otherwise, false. 默认值为 false。The default is false.
注解
如果没有 ThemeableAttribute 为成员显式定义属性,或应用了属性,则成员受主题影响 Themeable(true) 。A member is affected by themes if no ThemeableAttribute attribute is defined explicitly for the member, or the Themeable(true) attribute is applied. 如果应用了特性,则成员不受主题影响 Themeable(false) ; 这是的默认值 ThemeableAttribute 。A member is not affected by themes if the Themeable(false) attribute is applied; this is the default value for ThemeableAttribute.