System.Web.UI.WebControls.DataControlFieldHeaderCell Class

In accessibility scenarios, represents a header cell in the rendered table of a tabular ASP.NET data-bound control, such as System.Web.UI.WebControls.GridView.

See Also: DataControlFieldHeaderCell Members

Syntax

public class DataControlFieldHeaderCell : DataControlFieldCell

Remarks

The System.Web.UI.WebControls.DataControlFieldHeaderCell class is used by data tables (such as the System.Web.UI.WebControls.GridView control) to represent accessible headers. Tabular controls such as System.Web.UI.WebControls.DetailsView and System.Web.UI.WebControls.FormView are considered layout tables, and therefore do not require accessible headers and do not use the System.Web.UI.WebControls.DataControlFieldHeaderCell class.

The System.Web.UI.WebControls.DataControlFieldHeaderCell class is used in two cases:

If neither is the case, a regular System.Web.UI.WebControls.DataControlFieldHeaderCell object is used, which renders a <td> instead of a <th> element.

Because the System.Web.UI.WebControls.DataControlFieldHeaderCell class supports the DataControlFieldHeaderCell.AbbreviatedText property, it is used by the System.Web.UI.WebControls.GridView control whenever the GridView.UseAccessibleHeader property is true.

Requirements

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