Class MBSlidingTabBar<TItem>
An MBTabBar<TItem> with a MBSlidingContent<TItem> immediately beneath showing tabbed content.
Implements
Inherited Members
Namespace: Material.Blazor
Assembly: Material.Blazor.dll
Syntax
public class MBSlidingTabBar<TItem> : InputComponent<int>, IDisposable
Type Parameters
Name | Description |
---|---|
TItem |
Properties
| Improve this Doc View SourceContent
Content render fragments under the tab bar.
Declaration
public RenderFragment<TItem> Content { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment<TItem> |
Density
The tab bar's density.
Declaration
public MBDensity? Density { get; set; }
Property Value
Type | Description |
---|---|
Nullable<MBDensity> |
GetKeysFunc
A function delegate to return the parameters for @key
attributes. If unused
"fake" keys set to GUIDs will be used.
Declaration
public Func<TItem, object> GetKeysFunc { get; set; }
Property Value
Type | Description |
---|---|
Func<TItem, Object> |
Icon
Icon render fragments.
Declaration
public RenderFragment<TItem> Icon { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment<TItem> |
Items
The tab details plus items to be displayed under the tab bar depending upon tab index.
Declaration
public IEnumerable<TItem> Items { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<TItem> |
Label
Label render fragments.
Declaration
public RenderFragment<TItem> Label { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment<TItem> |
StackIcons
Stack icons vertically if True, otherwise icons are leading.
Declaration
public bool StackIcons { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceOnInitializedAsync()
Declaration
protected override async Task OnInitializedAsync()
Returns
Type | Description |
---|---|
Task |
Overrides
Material.Blazor.Internal.InputComponent<System.Int32>.OnInitializedAsync()