System.Web.UI.HtmlControls.HtmlHead.StyleSheet Property

Gets an System.Web.UI.IStyleSheet instance that represents the style rules in the System.Web.UI.HtmlControls.HtmlHead control.

Syntax

public System.Web.UI.IStyleSheet StyleSheet { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The HtmlHead.StyleSheet property returns an System.Web.UI.IStyleSheet that represents the embedded style rules in the System.Web.UI.HtmlControls.HtmlHead control.

Note:

Adding styles or style rules programmatically during asynchronous postbacks is not supported. When you add AJAX capabilities to an ASP.NET Web page, asynchronous postbacks update regions of the page without updating the whole page. For more information, see ASP.NET AJAX Overview.

Requirements

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