PagedDataSource.FirstIndexInPage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the index of the first record displayed on the page.
public:
property int FirstIndexInPage { int get(); };
public int FirstIndexInPage { get; }
member this.FirstIndexInPage : int
Public ReadOnly Property FirstIndexInPage As Integer
Property Value
The index of the first record displayed on the page.
Remarks
Use the FirstIndexInPage property to determine the index of the first item on the current page.
Note
If the IsPagingEnabled property is set to false
, or the IsCustomPagingEnabled or AllowServerPaging properties are set to true
, or the DataSource property contains null
, 0 is returned.