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 pages 可跨各種不同的裝置和瀏覽器可從 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.

適用於

另請參閱