Documentation > CMS Template API Library > PaginatedLinks

CrownPeak.CMSAPI.PaginatedLinks

A collection of PageLinks created to point at the pages that are needed to display a list that was paginated with Util.Paginate. See the examples in PaginateResult or Util.Paginate.

NameDescriptionType
HasNext()

Used to check if there are anymore links beyond the current page.

Method
HasPrevious()

Used to check if there are anymore links prior the current page.

Method
LinkAt(Int32)

Retrieves a link by index where 0 points to page 1, 1 points to page 2, etc.

Method
Count

The total number of links

Property
Current

Return the current link

Property
First

Return the first link

Property
Last

Return the last link

Property
Next

Return the next link after the current page

Property
Previous

Return the link previous to the current page

Property

Connect with CrownPeak