System.Web.UI.WebControls.TableFooterRow Class

Represents a footer row in a System.Web.UI.WebControls.Table control.

See Also: TableFooterRow Members


public class TableFooterRow : TableRow


The System.Web.UI.WebControls.TableFooterRow class represents a footer row in a System.Web.UI.WebControls.Table control. This class supports displaying tables on devices with a limited screen size. On these devices, a table with many columns and rows must be rendered across multiple pages. Adding a System.Web.UI.WebControls.TableFooterRow to a System.Web.UI.WebControls.Table control allows you to specify a footer row that is rendered as the last row on each page that displays a view of the table. For more information about the view formats for a table rendered on a device with a limited screen size, see System.Web.UI.WebControls.Table.

A System.Web.UI.WebControls.TableFooterRow object can contain only System.Web.UI.WebControls.TableCell objects. To add content to the System.Web.UI.WebControls.TableFooterRow, you must add one or more System.Web.UI.WebControls.TableCell objects to the row. Then, set the TableCell.Text property of each System.Web.UI.WebControls.TableCell object in the row to specify the contents of each cell. Alternatively, you can add a control to a System.Web.UI.WebControls.TableCell object to specify its contents.

You can programmatically manage the cells in the System.Web.UI.WebControls.TableFooterRow by using the TableRow.Cells collection. The TableRow.Cells collection is a collection of System.Web.UI.WebControls.TableCell objects that represent the cells in the row.

The System.Web.UI.WebControls.TableFooterRow inherits properties from System.Web.UI.WebControls.TableRow that allow you to control how the contents in the row are displayed. For example, you can use the TableRow.HorizontalAlign and TableRow.VerticalAlign properties to specify the alignment of the contents.


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