HtmlTextWriter.RegisterStyle Method (String, HtmlTextWriterStyle)
Registers markup style properties, whether literals or dynamically generated, from the source file so that they can be properly rendered to the requesting client.
Assembly: System.Web (in System.Web.dll)
The predefined cascading style sheet (CSS) attributes of the HTML markup language are registered by calls to the HtmlTextWriter object is created. Dynamic style attributes can be registered by using the method at other times.method when the first
The registration table used by the HtmlTextWriter objects on the host computer.method is static, so registration of attributes applies to all
Available since 1.1