Class MudPagination
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
public class MudPagination : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
- Inheritance
-
MudPagination
- Implements
- Inherited Members
- Extension Methods
Constructors
MudPagination()
public MudPagination()
Properties
BeforeIcon
Custom before icon.
[Parameter]
[Category("Appearance")]
public string BeforeIcon { get; set; }
Property Value
BoundaryCount
The number of items at the start and end of the pagination.
[Parameter]
[Category("Appearance")]
public int BoundaryCount { get; set; }
Property Value
Color
The color of the component. It supports the theme colors.
[Parameter]
[Category("Appearance")]
public Color Color { get; set; }
Property Value
ControlButtonClicked
Invokes the callback when a control button is clicked.
[Parameter]
public EventCallback<Page> ControlButtonClicked { get; set; }
Property Value
Count
The number of pages.
[Parameter]
[Category("Behavior")]
public int Count { get; set; }
Property Value
Disabled
If true, the pagination will be disabled.
[Parameter]
[Category("Behavior")]
public bool Disabled { get; set; }
Property Value
DropShadow
Determines whether the component has a drop-shadow. Default is true
[Parameter]
[Category("Appearance")]
public bool DropShadow { get; set; }
Property Value
FirstIcon
Custom first icon.
[Parameter]
[Category("Appearance")]
public string FirstIcon { get; set; }
Property Value
LastIcon
Custom last icon.
[Parameter]
[Category("Appearance")]
public string LastIcon { get; set; }
Property Value
MiddleCount
The number of items in the middle of the pagination.
[Parameter]
[Category("Appearance")]
public int MiddleCount { get; set; }
Property Value
NextIcon
Custom next icon.
[Parameter]
[Category("Appearance")]
public string NextIcon { get; set; }
Property Value
Rectangular
If true, the pagination buttons are displayed rectangular.
[Parameter]
[Category("Appearance")]
public bool Rectangular { get; set; }
Property Value
RightToLeft
[CascadingParameter(Name = "RightToLeft")]
public bool RightToLeft { get; set; }
Property Value
Selected
The selected page number.
[Parameter]
[Category("Behavior")]
public int Selected { get; set; }
Property Value
SelectedChanged
Invokes the callback when selected page changes.
[Parameter]
public EventCallback<int> SelectedChanged { get; set; }
Property Value
ShowFirstButton
If true, the navigate-to-first-page button is shown.
[Parameter]
[Category("Behavior")]
public bool ShowFirstButton { get; set; }
Property Value
ShowLastButton
If true, the navigate-to-last-page button is shown.
[Parameter]
[Category("Behavior")]
public bool ShowLastButton { get; set; }
Property Value
ShowNextButton
If true, the navigate-to-next-page button is shown.
[Parameter]
[Category("Behavior")]
public bool ShowNextButton { get; set; }
Property Value
ShowPageButtons
If true, the page buttons are shown.
[Parameter]
[Category("Behavior")]
public bool ShowPageButtons { get; set; }
Property Value
ShowPreviousButton
If true, the navigate-to-previous-page button is shown.
[Parameter]
[Category("Behavior")]
public bool ShowPreviousButton { get; set; }
Property Value
Size
The size of the component..
[Parameter]
[Category("Appearance")]
public Size Size { get; set; }
Property Value
Variant
The variant to use.
[Parameter]
[Category("Appearance")]
public Variant Variant { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
NavigateTo(Page)
Navigates to the specified page.
public void NavigateTo(Page page)
Parameters
page
PageThe target page. page=Page.Next navigates to the next page.
NavigateTo(int)
Navigates to the specified page.
public void NavigateTo(int pageIndex)
Parameters
pageIndex
int