Version

AddAttributesToRender Method (Style)

Adds all style attributes to the HtmlTextWriter instance passed in.
Overload List
OverloadDescription
AddAttributesToRender(HtmlTextWriter,WebControl)Adds all style attributes to the HtmlTextWriter instance passed in.  
AddAttributesToRender(HtmlTextWriter)Adds HTML attributes and styles that need to be rendered to the specified System.Web.UI.HtmlTextWriter. This method is primarily used by control developers. (Inherited from System.Web.UI.WebControls.Style)
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also