共用方式為


ItemPager.ItemIndex 屬性

定義

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

public:
 property int ItemIndex { int get(); };
public int ItemIndex { get; }
member this.ItemIndex : int
Public ReadOnly Property ItemIndex As Integer

屬性值

目前頁面上第一個可見項目的索引。

適用於

另請參閱