MudPagination API

Properties
Name Type Default Description
Behavior
Count
int
1 The number of pages.
Disabled
bool
False If true, the pagination will be disabled.
Selected
int
1 The selected page number.
ShowFirstButton
bool
False If true, the navigate-to-first-page button is shown.
ShowLastButton
bool
False If true, the navigate-to-last-page button is shown.
ShowNextButton
bool
True If true, the navigate-to-next-page button is shown.
ShowPreviousButton
bool
True If true, the navigate-to-previous-page button is shown.
Appearance
BeforeIcon
string
Custom before icon.
BoundaryCount
int
2 The number of items at the start and end of the pagination.
Color
Color
Color.Primary The color of the component. It supports the theme colors.
DisableElevation
bool
False If true, no drop-shadow will be used.
FirstIcon
string
Custom first icon.
LastIcon
string
Custom last icon.
MiddleCount
int
3 The number of items in the middle of the pagination.
NextIcon
string
Custom next icon.
Rectangular
bool
False If true, the pagination buttons are displayed rectangular.
Size
Size
Size.Medium The size of the component..
Variant
Variant
Variant.Text The variant to use.
Common
Class
string
null User class names, separated by space.
Style
string
null User styles, applied on top of the component's own classes and styles.
Tag
object
null Use Tag to attach any user data object to the component for your convenience.
UserAttributes
Dictionary<string, object>
UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag.
EventCallbacks
Name Type Description
ControlButtonClicked EventCallback<Page> Invokes the callback when a control button is clicked.
SelectedChanged EventCallback<int> Invokes the callback when selected page changes.
Methods
Name Parameters Return Description
NavigateTo(Page page)
Page page : The target page. page=Page.Next navigates to the next page.
Navigates to the specified page.
NavigateTo(int pageIndex)
int pageIndex
Navigates to the specified page.

Copyright © 2020-2024 MudBlazor.

Powered by .NET 8.0.8

An error has occurred. This application may no longer respond until reloaded. Reload 🗙