ThemeableAttribute.Themeable Property

Definition

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

Property Value

Boolean

true if the current type or member can be affected by themes; otherwise, false. The default is false.

Remarks

A member is affected by themes if no ThemeableAttribute attribute is defined explicitly for the member, or the Themeable(true) attribute is applied. A member is not affected by themes if the Themeable(false) attribute is applied; this is the default value for ThemeableAttribute.

Applies to