PagedDataSource.FirstIndexInPage Property

Definition

Gets the index of the first record displayed on the page.

public int FirstIndexInPage { get; }

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.

Obs!

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.

Applies to

Produkt Versjoner
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also