ThemeableAttribute.Themeable Property

 

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.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public bool Themeable { get; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 2.0
Return to top
Show: