Share via


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 & Sites with 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 建立 物件,並用來分頁控件的內容。

這個類別與具有長文字長度的控制件的 類別搭配 PagedControl 使用,例如 ListControlLiteralTextObjectList

一般而言,除非您想要建立自己的自定義分頁,否則不會繼承和修改此類別。 通常,您會繼承自 類別, PagedControl 並擴充自己的自定義屬性和方法。

建構函式

ItemPager()
已淘汰.

初始化 ItemPager 類別的新執行個體。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

ItemPager(ControlPager, MobileControl, Int32, Int32, Int32)
已淘汰.

初始化 ItemPager 類別的新執行個體。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

屬性

ItemCount
已淘汰.

取得目前頁面上可見的項目計數。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

ItemIndex
已淘汰.

取得目前頁面上第一個可見項目的索引。 如果沒有任何可見的項目,則傳回值 -1。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

方法

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱