通过


ItemPager 类

定义

注意

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 ref class ItemPager
public class ItemPager
[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 class ItemPager
type ItemPager = class
[<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 ItemPager = class
Public Class ItemPager
继承
ItemPager
属性

注解

对于支持内部分页的每个控件,将创建一个 ItemPager 对象,用于对控件的内容进行分页。

此类与具有长文本长度的控件(例如ListControlLiteralTextObjectList)的类一起使用PagedControl

通常,除非你想要创建自己的自定义分页,否则不会继承和修改此类。 更通常,你会从 PagedControl 类继承,并扩展自己的自定义属性和方法。

构造函数

名称 说明
ItemPager()
已过时.

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

ItemPager(ControlPager, MobileControl, Int32, Int32, Int32)
已过时.

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

属性

名称 说明
ItemCount
已过时.

获取当前页上可见的项计数。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

ItemIndex
已过时.

获取当前页上第一个可见项的索引。 如果未显示任何项,则返回 -1 的值。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

方法

名称 说明
Equals(Object)
已过时.

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

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

用作默认哈希函数。

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

获取当前实例的 Type

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

创建当前 Object的浅表副本。

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

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

(继承自 Object)

适用于

另请参阅