Class InternalCarouselPanel<TItem>
Panel for the carousel, returning ShouldRender() => false;
public class InternalCarouselPanel<TItem> : InputComponent<int>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Type Parameters
TItem
- Inheritance
-
InternalCarouselPanel<TItem>
- Implements
- Inherited Members
Constructors
InternalCarouselPanel()
public InternalCarouselPanel()
Properties
Content
Content render fragments under the tab bar.
[Parameter]
public RenderFragment<TItem> Content { get; set; }
Property Value
- RenderFragment<TItem>
ItemIndex
The index of the currently displayed item.
[Parameter]
public int ItemIndex { get; set; }
Property Value
Items
The tab details plus items to be displayed under the tab bar depending upon tab index.
[Parameter]
public IEnumerable<TItem> Items { get; set; }
Property Value
- IEnumerable<TItem>
SlidingContent
The embedded sliding content.
public MBSlidingContent<TItem> SlidingContent { get; set; }
Property Value
- MBSlidingContent<TItem>
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
OnInitializedAsync()
protected override Task OnInitializedAsync()