PageInfo.PageInfo

PageInfo(int)

Initializes a new instance of the PageInfo class

public PageInfo(int itemsPerPage)
ParameterTypeDescription
itemsPerPageInt32A number of items in page

See Also


PageInfo(int, int)

Initializes a new instance of the PageInfo class

public PageInfo(int itemsPerPage, int offset)
ParameterTypeDescription
itemsPerPageInt32A number of items in page
offsetInt32offset in view of a page

See Also


PageInfo(int, int, int, bool)

Initializes a new instance of the PageInfo class

public PageInfo(int totalCount, int itemsPerPage, int offset, bool lastPage)
ParameterTypeDescription
totalCountInt32total count of items in view
itemsPerPageInt32A number of items in page
offsetInt32offset in view of a page
lastPageBooleanIndicates whether current page is last page in view

See Also


PageInfo(int, int, int, int, bool)

Initializes a new instance of the PageInfo class

public PageInfo(int totalCount, int itemsPerPage, int offset, int absoluteOffset, bool lastPage)
ParameterTypeDescription
totalCountInt32total count of items in view
offsetInt32offset in view of a page
absoluteOffsetInt32additinal offset added to start index of a page
lastPageInt32Indicates whether current page is last page in view
itemsPerPageBooleanA number of items in page

See Also