Edit

Share via


Control.Adapter Property

Definition

Gets the browser-specific adapter for the control.

C#
protected System.Web.UI.Adapters.ControlAdapter Adapter { get; }

Property Value

A ControlAdapter for this control. If the target browser does not require an adapter, returns null.

Remarks

ASP.NET Web pages are usable across a wide range of devices and browsers that can request information from the Web. 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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also