Table of Contents

Method GetIndexOnNextPage

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetIndexOnNextPage(int?)

Gets the index of the first item on the next page relative to the specified index.

protected virtual int? GetIndexOnNextPage(int? index = null)

Parameters

index int?

The starting index to calculate the next page from. If null, the current selected index is used.

Returns

int?

The zero-based index of the first item on the next page, or null if the list is empty.