Control.Adapter Control.Adapter Control.Adapter Control.Adapter Property

定義

針對控制項取得瀏覽器的特定配置器。Gets the browser-specific adapter for the control.

protected:
 property System::Web::UI::Adapters::ControlAdapter ^ Adapter { System::Web::UI::Adapters::ControlAdapter ^ get(); };
protected System.Web.UI.Adapters.ControlAdapter Adapter { get; }
member this.Adapter : System.Web.UI.Adapters.ControlAdapter
Protected ReadOnly Property Adapter As ControlAdapter

屬性值

這個控制項的 ControlAdapterA ControlAdapter for this control. 如果目標瀏覽器不需要配置器,則會傳回 nullIf the target browser does not require an adapter, returns null.

備註

ASP.NET 網頁可在各種不同的裝置和瀏覽器中使用,以便從 Web 要求資訊。ASP.NET Web pages are usable across a wide range of devices and browsers that can request information from the Web. Adapter屬性會傳回物件,以在要求的裝置或瀏覽器的ControlAdapter畫面上呈現控制項。The Adapter property returns the ControlAdapter object that renders the control on the requesting device or browser's screen.

如需介面卡的詳細資訊,請參閱適應性控制項行為的架構總覽For more information about adapters, see Architectural Overview of Adaptive Control Behavior.

適用於

另請參閱