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 伺服器控件