System.Web.UI.PageTheme Class

Represents the base class for a page theme, which is a collection of resources that are used to define a consistent look across pages and controls in a Web site. The page theme can be set through configuration or the page directive.

See Also: PageTheme Members


public abstract class PageTheme


Page and control developers do not use the System.Web.UI.ControlSkinDelegate, System.Web.UI.ControlSkin, or System.Web.UI.PageTheme classes directly. These classes are used by the ASP.NET parser and runtime to apply style sheet elements that are defined in ASP.NET themes and control skins files to pages and specific types of controls.

Page developers enable (or disable) page themes using the Page.Theme and Control.EnableTheming properties. For more information about page themes, see Introduction to ASP.NET Themes.


Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0