Class MudCarouselItem
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Represents a slide displayed within a MudCarousel<TData>.
public class MudCarouselItem : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged, IDisposable
- Inheritance
-
MudCarouselItem
- Implements
- Inherited Members
- Extension Methods
Constructors
MudCarouselItem()
public MudCarouselItem()
Properties
ChildContent
The content displayed within this component.
[Parameter]
[Category("Behavior")]
public RenderFragment? ChildContent { get; set; }
Property Value
Classname
protected string Classname { get; }
Property Value
Color
The color of this item.
[Parameter]
[Category("Appearance")]
public Color Color { get; set; }
Property Value
Remarks
Defaults to Default. Theme colors are supported.
CustomTransitionEnter
The custom CSS transition used to blend into this carousel item.
[Parameter]
[Category("Appearance")]
public string? CustomTransitionEnter { get; set; }
Property Value
CustomTransitionExit
The custom CSS transition used to blend away from this carousel item.
[Parameter]
[Category("Appearance")]
public string? CustomTransitionExit { get; set; }
Property Value
Parent
[CascadingParameter]
protected MudBaseItemsControl<MudCarouselItem>? Parent { get; set; }
Property Value
RightToLeft
[CascadingParameter(Name = "RightToLeft")]
public bool RightToLeft { get; set; }
Property Value
Transition
The effect used to blend from this item to a different MudCarouselItem.
[Parameter]
[Category("Appearance")]
public Transition Transition { get; set; }
Property Value
Remarks
Defaults to Slide.
Visible
Displays this item.
public bool Visible { get; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
Dispose()
Releases resources used by this component.
public void Dispose()
OnInitializedAsync()
protected override Task OnInitializedAsync()
Returns
See Also
MudCarousel<TData>