HxPager

Pager.

<HxPager CurrentPageIndex="0" TotalPages="1" />
<HxPager CurrentPageIndex="0" TotalPages="2" />
<HxPager CurrentPageIndex="0" TotalPages="3" />
<HxPager CurrentPageIndex="0" TotalPages="5" />
<HxPager CurrentPageIndex="0" TotalPages="6" />
<HxPager CurrentPageIndex="0" TotalPages="10" />
<HxPager CurrentPageIndex="0" TotalPages="11" />
<HxPager CurrentPageIndex="0" TotalPages="15" />
<HxPager CurrentPageIndex="0" TotalPages="100" />

API

Parameters

Name Type Description
CssClass string Any additional CSS class to apply.
CurrentPageIndex int Current page index. Zero based. Displayed numbers start with 1 which is page index 0.
CurrentPageIndexChanged EventCallback<int> Event raised where page index is changed.
DisplayNumberCount int Count of numbers to display. Default value is 10.
TotalPages int Total pages of data items.

CSS Variables

Name Description Default
--hx-pager-margin Pager margin. 1rem
An unhandled error has occurred. Reload 🗙