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
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:
The GridView.UseAccessibleHeader property is true.
The field is a System.Web.UI.WebControls.BoundField object whose BoundField.DataField property is set as the GridView.RowHeaderColumn property.
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.