System.Web.UI.Page.StyleSheetTheme Property

Gets or sets the name of the theme that is applied to the page early in the page life cycle.

Syntax

[System.ComponentModel.Browsable(false)]
[System.Web.UI.Filterable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual string StyleSheetTheme { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property does not refer directly to a cascading style sheet (CSS). The property contains the name of an ASP.NET theme, which can include CSS files within it.

The Page.StyleSheetTheme property specifies the name of a theme that is applied to a page early in the page life cycle, whereas the Page.Theme property specifies the name of a theme that is applied to a page later in the page life cycle. This means that settings on the page take precedence over settings in the style sheet theme. For more information, see ASP.NET Themes and Skins Overview.

You typically set a value for this property in the page directive or by overriding the property. For information, see the following topics:

Requirements

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