ASP.NET Table 控件
定義和用法
Table 控件與 TableCell 控件和 TableRow 控件配合,用于創建表格。
屬性
屬性 | 描述 | .NET |
---|---|---|
BackImageUrl | 表格的背景圖像的 URL。 | 1.0 |
Caption | 表格的標題(caption)。 | 2.0 |
CaptionAlign | caption 文本的對齊方式。 | 2.0 |
CellPadding | 單元格邊框與內容的間距。 | 1.0 |
CellSpacing | 單元格間距。 | 1.0 |
GridLines | The gridline format in the table | 1.0 |
HorizontalAlign | 表格在頁面中的水平對齊方式。 | 1.0 |
Rows | 表格中的行集合。 | 1.0 |
runat | 規定該控件是服務器控件。必須設置為 "server"。 | 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
如需完整描述,請訪問控件標準屬性。