MudBlazor

MudPagination API

Properties

Name Type Default Description
BeforeIcon
String
Custom before icon.
BoundaryCount
Int32

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.
Count
Int32

1

The number of pages.
Disabled
Boolean

False

If true, the pagination will be disabled.
DisableElevation
Boolean

False

If true, no drop-shadow will be used.
FirstIcon
String
Custom first icon.
LastIcon
String
Custom last icon.
MiddleCount
Int32

3

The number of items in the middle of the pagination.
NextIcon
String
Custom next icon.
Rectangular
Boolean

False

If true, the pagination buttons are displayed rectangular.
Selected
Int32

1

The selected page number.
ShowFirstButton
Boolean

False

If true, the navigate-to-first-page button is shown.
ShowLastButton
Boolean

False

If true, the navigate-to-last-page button is shown.
ShowNextButton
Boolean

True

If true, the navigate-to-next-page button is shown.
ShowPreviousButton
Boolean

True

If true, the navigate-to-previous-page button is shown.
Size
Size

Size.Medium

The size of the component..
Variant
Variant

Variant.Text

The variant to use.
Inherited from MudComponentBase
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<Int32>
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.
An error has occurred. This application may no longer respond until reloaded. Reload 🗙