Class MBSlidingContent<TItem>
A Plus component that take a set of renderfragments in a list and transitions from one to another
with slight sideways motion and fade, or "sliding". Only renders the currently displayed item.
Inheritance
MBSlidingContent<TItem>
Assembly: Material.Blazor.dll
Syntax
public class MBSlidingContent<TItem> : ComponentFoundation, IDisposable
Type Parameters
Name |
Description |
TItem |
The content type.
|
Properties
|
Improve this Doc
View Source
Content
Render fragment for each displayable item.
Declaration
public RenderFragment<TItem> Content { get; set; }
Property Value
Type |
Description |
RenderFragment<TItem> |
|
|
Improve this Doc
View Source
ItemIndex
The index of the currently displayed item.
Declaration
public int ItemIndex { get; set; }
Property Value
|
Improve this Doc
View Source
ItemIndexChanged
Declaration
public EventCallback<int> ItemIndexChanged { get; set; }
Property Value
Type |
Description |
EventCallback<Int32> |
|
|
Improve this Doc
View Source
Items
The items to be displayed.
Declaration
public IEnumerable<TItem> Items { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
OnAfterRenderAsync(Boolean)
Declaration
protected override async Task OnAfterRenderAsync(bool firstRender)
Parameters
Type |
Name |
Description |
Boolean |
firstRender |
|
Returns
Overrides
|
Improve this Doc
View Source
Declaration
protected override async Task OnParametersSetAsync()
Returns
Overrides
Implements