System.Web 2.0.0.0

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 class implements this interface for use by ASP.NET through the property.

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.

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

- Method
  System.Void `` `` `` To be added.

  The method creates a style rule for the specified selector. Multiple style rules can be created for the same selector.

  If is set to null, the URL of the current instance is used.

  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.

  When implemented by a class, creates a style rule for the specified document language element type, or selector.

  The style rule to be added to the embedded style sheet. An -implemented object that contains the context information for the current location (URL). 2.0.0.0
- Method
  System.Void `` ``

  This method adds a new style rule and property name to the embedded style sheet within the <head> section of a object, and associates the rule with an auto-generated style name. The object is rendered using the specified parameter.

  If is set to null, the URL of the current is used.

  If a object is already registered, it is not added multiple times.

  Adding or modifying styles 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.

  When implemented by a class, adds a new style rule to the embedded style sheet in the <head> section of a Web page.

  The style rule to be added to the embedded style sheet. An -implemented object that contains the context information for the current location (URL). 2.0.0.0