通过


IControlAdapter 接口

定义

注意

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.

定义控件适配器的接口。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 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
派生
属性

注解

所有控件适配器都必须实现 IControlAdapter 接口。 通常,控件适配器直接或间接地从 ControlAdapter 基类继承,该基类提供此接口的默认实现。

属性

名称 说明
Control
已过时.

返回对关联控件的强类型引用。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

ItemWeight
已过时.

访问控件中单个项的大致权重。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

Page
已过时.

返回与设备适配器关联的页面。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

VisibleWeight
已过时.

以字符为单位返回控件的近似权重。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

方法

名称 说明
CreateTemplatedUI(Boolean)
已过时.

由基类调用以创建模板化 UI。

HandlePostBackEvent(String)
已过时.

返回 true 是否已处理事件。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

LoadAdapterState(Object)
已过时.

返回控件的特定于适配器的视图。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

LoadPostData(String, NameValueCollection, Object, Boolean)
已过时.

如果适配器处理加载 post 数据,则返回 true 。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

OnInit(EventArgs)
已过时.

在对象(如窗体或页面)后调用,将初始化。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

OnLoad(EventArgs)
已过时.

加载与控件、页面或设备适配器相关的数据。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

OnPreRender(EventArgs)
已过时.

由控件 OnPreRender(EventArgs) 的方法调用,在呈现之前执行特定于适配器的工作。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

OnUnload(EventArgs)
已过时.

卸载与控件、页面或设备适配器相关的数据。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

Render(HtmlTextWriter)
已过时.

由控件 Render(HtmlTextWriter) 的方法调用以执行呈现。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

SaveAdapterState()
已过时.

当控件保存其专用视图状态时,将调用此方法。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

适用于

另请参阅