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.

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

System.Object
  System.Web.UI.PageTheme

public abstract class PageTheme

NameDescription
System_CAPS_protmethodPageTheme()

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the PageTheme class.

NameDescription
System_CAPS_protpropertyAppRelativeTemplateSourceDirectory

When overridden a derived class, gets the relative URL of the directory for the PageTheme object.

System_CAPS_protpropertyControlSkins

When overridden in a derived class, gets an IDictionary interface of the names of all default skins that are available for the current page theme, indexed by control type.

System_CAPS_protpropertyLinkedStyleSheets

When overridden in a derived class, gets an array of style sheets that are linked to this page.

System_CAPS_protpropertyPage

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the Page object that is associated with the instance of the PageTheme class.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateSkinKey(Type, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates a lookup key object for a particular control type and skin ID.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodEval(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Uses the DataBinder.Eval(Object, String) method of the Page property that the instance of the PageTheme class is associated with to evaluate a data-binding expression.

System_CAPS_protmethodEval(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Uses the DataBinder.Eval(Object, String, String) method of the Page property that the instance of the PageTheme class is associated with to evaluate a data-binding expression.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodTestDeviceFilter(String)

Tests whether a device filter applies to the Page control that the instance of the PageTheme class is associated with.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodXPath(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Evaluates an XPath data-binding expression.

System_CAPS_protmethodXPath(String, IXmlNamespaceResolver)

This API supports the product infrastructure and is not intended to be used directly from your code. Evaluates an XPath data-binding expression using the specified prefix and namespace mappings for namespace resolution.

System_CAPS_protmethodXPath(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Evaluates an XPath data-binding expression using the specified format string to display the result.

System_CAPS_protmethodXPath(String, String, IXmlNamespaceResolver)

This API supports the product infrastructure and is not intended to be used directly from your code. Uses the TemplateControl.XPath method of the Page control that the instance of the PageTheme class is associated with to evaluate an XPath data-binding expression.

System_CAPS_protmethodXPathSelect(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Evaluates an XPath data-binding expression and returns a node collection that implements the IEnumerable interface.

System_CAPS_protmethodXPathSelect(String, IXmlNamespaceResolver)

This API supports the product infrastructure and is not intended to be used directly from your code. Evaluates an XPath data-binding expression using the specified prefix and namespace mappings for namespace resolution and returns a node collection that implements the IEnumerable interface.

Page and control developers do not use the ControlSkinDelegate, ControlSkin, or 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 Theme and EnableTheming properties. For more information about page themes, see ASP.NET Themes and Skins.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: