Pagination

This documentation provides a comprehensive reference for the Pagination component, guiding you through its configuration options.
Demos

Screenshot #

Blazor Pagination Component

Parameters #

Name Type Default Required Description Added Version
ActivePageNumber int 1 Gets or sets the active page number. 1.0.0
AdditionalAttributes Dictionary<string, object>? null Gets or sets additional attributes that will be applied to the component. 1.0.0
Alignment Alignment None Gets or sets the pagination alignment. 1.0.0
Class string? null Gets or sets the CSS class name(s) to apply to the component. 1.0.0
DisplayPages int 5 Gets or sets the maximum page links to be displayed. 1.0.0
FirstLinkIcon IconName None Gets or sets the first link icon. 1.0.0
FirstLinkText string? null Gets or sets the first link text. FirstLinkText is ignored if FirstLinkIcon is specified. 1.0.0
Id string? null Gets or sets the ID. If not set, a unique ID will be generated. 1.0.0
LastLinkIcon IconName None Gets or sets the last link icon. 1.0.0
LastLinkText string? null Gets or sets the last link text. LastLinkText is ignored if LastLinkIcon is specified. 1.0.0
NextLinkIcon IconName None Gets or sets the next link icon. 1.0.0
NextLinkText string? null Gets or sets the next link text. NextLinkText is ignored if NextLinkIcon is specified. 1.0.0
PreviousLinkIcon IconName None Gets or sets the previous link icon. 1.0.0
PreviousLinkText string? null Gets or sets the previous link text. PreviousLinkText is ignored if PreviousLinkIcon is specified. 1.0.0
Size PaginationSize None Gets or sets the pagination size. 1.0.0
Style string? null Gets or sets the CSS style string that defines the inline styles for the component. 1.0.0
TotalPages int 0 Gets or sets the total pages. 1.0.0

Events #

Name Return Type Description Added Version
PageChanged EventCallback<int> This event fires immediately when the page number is changed. 1.0.0

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.