Edit

Share via


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.

C#
public bool Themeable { get; }

Property Value

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

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1