Szerkesztés

Megosztás a következőn keresztül:


IControlAdapter Interface

Definition

Caution

The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.

Defines the interface to a control adapter. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public interface class IControlAdapter
public interface IControlAdapter
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public interface IControlAdapter
type IControlAdapter = interface
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type IControlAdapter = interface
Public Interface IControlAdapter
Derived
Attributes

Remarks

All control adapters must implement the IControlAdapter interface. Usually, a control adapter inherits directly or indirectly from the ControlAdapter base class, which provides a default implementation of this interface.

Properties

Control

Returns a strongly typed reference to the associated control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ItemWeight

Accesses the approximate weight of a single item in the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Page

Returns the page associated with the device adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

VisibleWeight

Returns the approximate weight of the control, in characters. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Methods

CreateTemplatedUI(Boolean)

Called by base classes to create a templated UI.

HandlePostBackEvent(String)

Returns true if the event was handled. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

LoadAdapterState(Object)

Returns the adapter-specific view for a control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

LoadPostData(String, NameValueCollection, Object, Boolean)

Returns true if the adapter handles loading the post data. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

OnInit(EventArgs)

Called after an object, such as a form or a page, is initialized. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

OnLoad(EventArgs)

Loads data that pertains to a control, a page, or a device adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

OnPreRender(EventArgs)

Called by the control's OnPreRender(EventArgs) method, to perform adapter-specific work prior to rendering. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

OnUnload(EventArgs)

Unloads data that pertains to a control, a page, or a device adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Render(HtmlTextWriter)

Called by the control's Render(HtmlTextWriter) method to perform rendering. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

SaveAdapterState()

This method is called when the control saves its private view state. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Applies to

See also