System.Web 2.0.0.0 System.Web.UI.WebControls.DataControlFieldCell

The class is used by data tables (such as the control) to represent accessible headers. Tabular controls such as and are considered layout tables, and therefore do not require accessible headers and do not use the class.

The class is used in two cases:

The property is true.

The field is a object whose property is set as the property.

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

Because the class supports the property, it is used by the control whenever the property is true.

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

- Constructor
  To be added.

  The constructor passes the element as its parameter, which is the representation of the HTML tag it is rendered with. The passed in the parameter is used to determine whether to show headers and what styles to apply to the cell when it is rendered.

  Initializes a new instance of the class, setting the specified object as the cell's container.

  2.0.0.0
- Property
  System.String To be added.

  The value of the property is stored in view state.

  Gets or sets abbreviated text, which is rendered in an HTML abbr attribute and is used by screen readers.

  2.0.0.0
- Method
  System.Void ``

  The method adds the or attributes if the respective or properties are set.

  Adds information about the table cell to the list of attributes to render.

  An that represents the output stream that renders HTML content to the client. 2.0.0.0
- Property
  System.Web.UI.WebControls.TableHeaderScope To be added.

  The value of the property is rendered as an HTML scope attribute by the object. Although the property is initialized to , you should set it to either or , depending on the cells that the header represents.

  The value of the property is stored in view state.

  Gets or sets the header cell's scope within an HTML table.

  2.0.0.0