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.

注解

可以从 Web 请求信息的各种设备和浏览器中使用 ASP.NET 网页。ASP.NET Web pages are usable across a wide range of devices and browsers that can request information from the Web. 属性返回在请求设备或浏览器的屏幕上呈现控件的对象。ControlAdapter AdapterThe 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.

适用于

另请参阅