MudCarousel<T> API

Pages
Properties
Name Type Default Description
Data
ChildContent
RenderFragment
null Collection of T
ItemsSource
IEnumerable<T>
null Items Collection - For databinding usage
Behavior
AutoCycle
bool
True Gets or Sets automatic cycle on item collection.
AutoCycleTime
TimeSpan
00:00:05 Gets or Sets the Auto Cycle time
SelectedIndex
int
-1 Selected Item's index
ShowArrows
bool
True Gets or Sets if 'Next' and 'Previous' arrows must be visible
ShowBullets
bool
True Gets or Sets if bar with Bullets must be visible
Appearance
ArrowsPosition
Position
Position.Center Sets the position of the arrows. By default, the position is the Center position
BulletsClass
string
null Gets or Sets custom class(es) for Bullets buttons
BulletsColor
Color?
null Gets or Sets the Bullets color. If not set, the color is determined based on the MudCarouselItem.Color property of the active child.
BulletsPosition
Position
Position.Bottom Sets the position of the bullets. By default, the position is the Bottom position
BulletTemplate
RenderFragment<bool>
null Gets or Sets the Template for Bullets
CheckedIcon
string
Custom selected bullet icon.
ItemTemplate
RenderFragment<T>
null Template for each Item in ItemsSource collection
NavigationButtonsClass
string
null Gets or Sets custom class(es) for 'Next' and 'Previous' arrows
NextButtonTemplate
RenderFragment
null Gets or Sets the Template for the Left Arrow
NextIcon
string
Custom next navigation icon.
PreviousButtonTemplate
RenderFragment
null Gets or Sets the Template for the Right Arrow
PreviousIcon
string
Custom previous navigation icon.
UncheckedIcon
string
Custom unselected bullet icon.
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
SelectedIndexChanged EventCallback<int>
Methods
Name Parameters Return Description
AddItem(MudCarouselItem item)
MudCarouselItem item
ValueTask DisposeAsync()
ValueTask
MoveTo(int index)
int index
Move to Item at desired index
Next() Move to Next Item
Previous() Move to Previous Item
An unhandled error has occurred. Reload 🗙