Method | Description | |
---|---|---|
GetDisabledPagingOptions ( ) : |
Gets a set of PagingOptions with paging disabled.
|
|
GetItemCountForPage ( ) : int |
Gets the number of items on the current page as determined by PageIndex. This will be the lesser of TotalItemCount minus the items on the previous pages and the PageSize; but no less than zero.
|
|
GetPagingByPage ( int page, int itemsPerPage ) : |
Creates a new paging options based on a nullable page and page size.
|
|
GetTotalPageCount ( ) : int |
Gets the total number of pages given the current paging details.
|
public static GetDisabledPagingOptions ( ) : |
||
return |
public static GetPagingByPage ( int page, int itemsPerPage ) : |
||
page | int | Either null, or a 1 based page number (not page index) |
itemsPerPage | int | Either null for the default, or the number of items for each page. |
return |