System.Web.UI.WebControls Namespace
Represents a cell in a Table control.
Visibility |
Constructor |
Parameters |
public |
TableCell |
( )
|
|
The TableCell class represents a cell in a Table control. You can use the Text property to specify or determine the contents of the cell.
This class allows you to control how the contents of the cell are displayed. The alignment of the contents in the cell are specified by setting the HorizontalAlign and VerticalAlign properties. You can use the Wrap property to specify whether the contents of the cell wrap in the cell.
You can also specify how many rows or columns in the table are occupied by an individual cell. The RowSpan and ColumnSpan properties control how may rows and columns are used, respectively.