Uredi

Deli z drugimi prek


Control.ResolveAdapter Method

Definition

Gets the control adapter responsible for rendering the specified control.

protected:
 virtual System::Web::UI::Adapters::ControlAdapter ^ ResolveAdapter();
protected virtual System.Web.UI.Adapters.ControlAdapter ResolveAdapter ();
abstract member ResolveAdapter : unit -> System.Web.UI.Adapters.ControlAdapter
override this.ResolveAdapter : unit -> System.Web.UI.Adapters.ControlAdapter
Protected Overridable Function ResolveAdapter () As ControlAdapter

Returns

A ControlAdapter that will render the control.

Remarks

ASP.NET Web pages are viewable across a wide range of devices that are capable of requesting pages from the Web. The ResolveAdapter method returns the control adapter responsible for rendering the control on the specific browser or device that requested the ASP.NET page.

The specific adapter type returned depends on the descendent type of the Control class that is being rendered.

For more information about adapters, see Architectural Overview of Adaptive Control Behavior.

Applies to

See also