ItemPager.ItemIndex 属性

定义

获取当前页上第一个可见项的索引。Gets the index of the first visible item on the current page. 如果没有可见项,则返回值 -1。Returns a value of -1 if no items are visible. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

属性值

Int32

当前页上第一个可见项的索引。The index of the first visible item on the current page.

适用于

另请参阅