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

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public abstract class PageTheme

Remarks

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.

Requirements

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