Nucleus .Net Core CMS

Models.Paging.PagingSettings Class

Namespace: Nucleus.Abstractions.Models.Paging
Assembly: Nucleus.Abstractions.dll
Class used to submit paging data to functions which support paging.
PagingSettings ()
constructor
Currently selected page number.
Remarks
The first page is page 1. The value zero has no meaning for this property.
Return the row index of the first result to return, based on CurrentPageIndex and PageSize
Return the index of the last item shown on the current page.
The maximum number of controls to show in the paging panel.
Returns a list of pages to display in a paging control.
Remarks
The paging control only displays a limited number of buttons for paging. This function executes logic to include a first page and last page control, in addition to 5 pages centered on the currently selected page, unless the currently selected page is less than 3, in which case it shows the first five pages, or the currently selected page is greater than total pages minus 3, in which case the last five pages are shown.
Returns a list of pages which are available to be selected.
Currently selected page size
List of available page sizes
The count of available items in the database.
Returns the number of available pages