Adds the HTML attributes and styles of a System.Web.UI.WebControls.CheckBox control to be rendered to the specified output stream.
- writer
- An System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.
The CheckBox.AddAttributesToRender(System.Web.UI.HtmlTextWriter) method is used primarily by control developers to insert the additional attributes and styles in the System.Web.UI.HtmlTextWriter output stream for a System.Web.UI.WebControls.CheckBox control. The CheckBox.AddAttributesToRender(System.Web.UI.HtmlTextWriter) method overrides the WebControl.AddAttributesToRender(System.Web.UI.HtmlTextWriter) method.