System.Web.UI.WebControls.TableHeaderCell.AddAttributesToRender Method

Applies attributes to render to the System.Web.UI.WebControls.TableHeaderCell control.

Syntax

protected override void AddAttributesToRender (System.Web.UI.HtmlTextWriter writer)

Parameters

writer
An System.Web.UI.HtmlTextWriter that receives the rendered content.

Remarks

The TableHeaderCell.AddAttributesToRender(System.Web.UI.HtmlTextWriter) method overrides the WebControl.AddAttributesToRender(System.Web.UI.HtmlTextWriter) method for the base class and, in addition to calling the base method, renders the TableHeaderCell.Scope and TableHeaderCell.AbbreviatedText properties to the scope and abbr attribute of HTML th element, respectively.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0