Modifier

Partager via


PagedDataSource.FirstIndexInPage Property

Definition

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.

Applies to

See also