ControlAdapter 类

定义

注意

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.

ControlAdapter 本身是抽象的,无法实例化。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public ref class ControlAdapter abstract : System::Web::UI::MobileControls::IControlAdapter
public abstract class ControlAdapter : System.Web.UI.MobileControls.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 abstract class ControlAdapter : System.Web.UI.MobileControls.IControlAdapter
type ControlAdapter = class
    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.")>]
type ControlAdapter = class
    interface IControlAdapter
Public MustInherit Class ControlAdapter
Implements IControlAdapter
继承
ControlAdapter
派生
属性
实现

注解

ControlAdapter 类提供一个常规基类,控件适配器可从中继承。 此类提供所有适配器所需的接口的默认实现 IControlAdapter 。 基类的默认呈现实现应该是呈现所有子控件。 这样,基类就可以用作组合控件的适配器。

构造函数

名称 说明
ControlAdapter()
已过时.

创建类的新实例。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

字段

名称 说明
BackLabel
已过时.

返回表示 “后退 ”标签的标签标识符。 此字段为常量。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

CallLabel
已过时.

返回表示 呼叫 标签的标签标识符。 此字段为常量。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

GoLabel
已过时.

返回表示 Go 标签的标签标识符。 此字段为常量。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

LinkLabel
已过时.

返回表示 链接 标签的标签标识符。 此字段为常量。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

MoreLabel
已过时.

返回表示 “更多 ”标签的标签标识符。 此字段为常量。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

NextLabel
已过时.

返回表示 下一个 标签的标签标识符。 此字段为常量。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

OKLabel
已过时.

返回表示 OK 标签的标签标识符。 此字段为常量。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

OptionsLabel
已过时.

返回表示 选项 标签的标签标识符。 此字段为常量。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

PreviousLabel
已过时.

返回表示 上一 个标签的标签标识符。 此字段为常量。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

属性

名称 说明
Control
已过时.

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

Device
已过时.

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

ItemWeight
已过时.

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

Page
已过时.

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

Style
已过时.

返回与设备适配器附加到的控件关联的样式对象。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

VisibleWeight
已过时.

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

方法

名称 说明
CalculateOptimumPageWeight(Int32)
已过时.

确定设备的最佳页面权重。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

CreateTemplatedUI(Boolean)
已过时.

由控件调用以创建模板化用户界面(UI)。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

Equals(Object)
已过时.

确定指定对象是否等于当前对象。

(继承自 Object)
GetDefaultLabel(Int32)
已过时.

返回标签控件的本地化默认字符串。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
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 的网站。

MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
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 的网站。

RenderChildren(HtmlTextWriter)
已过时.

呈现控件的子级。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

SaveAdapterState()
已过时.

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

ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

适用于

另请参阅