System.Web.UI.WebControls.TableHeaderCell Class

Represents a heading cell within a System.Web.UI.WebControls.Table control.

See Also: TableHeaderCell Members

Syntax

public class TableHeaderCell : TableCell

Remarks

The System.Web.UI.WebControls.TableHeaderCell class represents a heading cell in a System.Web.UI.WebControls.Table control. You can use the TableCell.Text property to specify or determine the contents of the heading cell.

This class allows you to control how the contents of the heading cell are displayed. The alignment of the contents in the heading cell is specified by setting the TableCell.HorizontalAlign and TableCell.VerticalAlign properties. You can use the TableCell.Wrap property to specify whether the contents of the heading cell wrap in the cell.

You can also specify how many rows or columns in the System.Web.UI.WebControls.Table control are occupied by an individual heading cell. The TableCell.RowSpan and TableCell.ColumnSpan properties control how may rows and columns are used, respectively.

Requirements

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