語言

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 都會建立一個物件,並用來分頁控制項的內容。

此類別與 類別搭配PagedControl用於具有長文字長度的控制項,例如 、 ListControlLiteralText、 或 ObjectList。

通常,除非你想建立自己的自訂分頁,否則不會繼承並修改這個類別。 更常見的是,你會繼承該 PagedControl 類別,並擴充自訂屬性和方法。

建構函式

名稱 Description
ItemPager()
已淘汰.

初始化 ItemPager 類別的新執行個體。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

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

初始化 ItemPager 類別的新執行個體。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

屬性

名稱 Description
ItemCount
已淘汰.

會顯示目前頁面上可見的物品數量。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

ItemIndex
已淘汰.

取得當前頁面第一個可見項目的索引。 如果沒有顯示任何物品,則回傳 -1 的值。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

方法

名稱 Description
Equals(Object)
已淘汰.

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

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

做為預設哈希函式。

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

取得目前實例的 Type。

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

建立目前 Object的淺層複本。

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

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

(繼承來源 Object)

適用於

另請參閱