ASP.NET TableRow 控件

定義和用法
TableRow 控件與 TableCell 控件和 Table 控件一起使用,來創建表格中的行。
提示:表格的行存儲在 Table 控件中的 Rows 集合中。
屬性
屬性 | 描述 | .NET |
---|---|---|
Cells | ||
HorizontalAlign | 表格行中內容的水準對齊方式。 | 1.0 |
TableSection | Table 控件中 TableRow 對象的位置。 | 2.0 |
VerticalAlign | 表格行中內容的垂直對齊方式。 | 1.0 |
Web 控件標準屬性
AccessKey, Attributes, BackColor, BorderColor,
BorderStyle, BorderWidth, CssClass, Enabled, Font, EnableTheming,
ForeColor, Height, IsEnabled, SkinID, Style, TabIndex, ToolTip, Width
如需完整描述,請訪問 Web 控件標準屬性。
控件標準屬性
AppRelativeTemplateSourceDirectory, BindingContainer,
ClientID, Controls, EnableTheming, EnableViewState, ID, NamingContainer,
Page, Parent, Site, TemplateControl, TemplateSourceDirectory, UniqueID,
Visible
如需完整描述,請訪問 控件標準屬性。
實例
Table
在本例中,我們在 .aspx 檔中聲明了兩個 Table 控件。
Table 2
在本例中,我們在 .aspx 檔中聲明了一個 Table 控件,三個 TableRow 控件,和兩個 TableCell 控件。
