System.Web.UI.IStyleSheet

Defines the methods that a class must implement in order to support the creation of style rules.

See Also: IStyleSheet Members

Syntax

public interface IStyleSheet

Remarks

Classes that implement this interface can use it to support the creation of style rules.

To customize the way cascading style sheets are created and registered, you must create a class that implements this interface.

The System.Web.UI.HtmlControls.HtmlHead class implements this interface for use by ASP.NET through the Page.Header property.

Note:

Adding or modifying 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
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0