Models.Paging.PagingSettings Class
Namespace: Nucleus.Abstractions.Models.Paging
Assembly: Nucleus.Abstractions.dll
Class used to submit paging data to functions which support paging.
Constructor
Nucleus.Abstractions.Models.Paging.PagingSettings
Constructor
Nucleus.Abstractions.Models.Paging.PagingSettings ()
constructor
Properties
CurrentPageIndex
Property
Currently selected page number.
MaxPageControls
Property
The maximum number of controls to show in the paging panel.
TotalCount
Property
The count of available items in the database.
PageSize
Property
Currently selected page size
PageSizes
Property
List of available page sizes
TotalPages
Property
Returns the number of available pages
Pages
Property
Returns a list of pages which are available to be selected.
FirstRowIndex
Property
Return the row index of the first result to return, based on CurrentPageIndex and PageSize
LastDisplayedRowIndex
Property
Return the index of the last item shown on the current page.
PageControlNumbers
Property
Returns a list of pages to display in a paging control.