Latest web development tutorials

ASP.NET PlaceHolder 控件

Web Server Controls Web服務器控件

定義和用法

PlaceHolder 控件用於為代碼添加的控件預留空間。

註釋: PlaceHolder不會產生任何可見的輸出(僅僅是網頁上其它控件的容器)。


屬性

属性 描述
runat 规定控件是服务器。必须设置为 "server"。

Web 控件標準屬性

AccessKey, Attributes, BackColor, BorderColor, BorderStyle, BorderWidth, CssClass, Enabled, Font, EnableTheming, ForeColor, Height, IsEnabled, SkinID, Style, TabIndex, ToolTip, Width

如需完整描述,請訪問Web控件標準屬性

Control Standard Properties

AppRelativeTemplateSourceDirectory, BindingContainer, ClientID, Controls, EnableTheming, EnableViewState, ID, NamingContainer, Page, Parent, Site, TemplateControl, TemplateSourceDirectory, UniqueID, Visible

如需完整描述,請訪問控件標準屬性


Web Server Controls Web服務器控件