PageInfo

PageInfo class

Contains information about retrieved page when paging methods are used.

public class PageInfo

Constructors

Name Description
PageInfo(int) Initializes a new instance of the PageInfo class
PageInfo(int, int) Initializes a new instance of the PageInfo class
PageInfo(int, int, int, bool) Initializes a new instance of the PageInfo class
PageInfo(int, int, int, int, bool) Initializes a new instance of the PageInfo class

Properties

Name Description
AbsoluteOffset { get; set; } Gets additinal offset added to start index of a page
ItemsPerPage { get; set; } A number of items in page
LastPage { get; set; } Indicates whether current page is last page in view.
virtual NextPage { get; } Information of the next page or null if current page is last
PageOffset { get; set; } Gets offset of a page
TotalCount { get; set; } Gets total count of items in view

See Also