Class MBTopAppBar
A Material Theme top app bar
public class MBTopAppBar : ComponentFoundation, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
- Inheritance
-
MBTopAppBar
- Implements
- Inherited Members
Constructors
MBTopAppBar()
public MBTopAppBar()
Properties
ChildContent
Render fragment where @Body is referenced.
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
IconFoundry
The foundry to use for both leading and trailing icons.
IconFoundry="IconHelper.MIIcon()"
IconFoundry="IconHelper.FAIcon()"
IconFoundry="IconHelper.OIIcon()"
Overrides IconFoundryName
[Parameter]
public IMBIconFoundry IconFoundry { get; set; }
Property Value
NavIcon
Navigation button icon.
[Parameter]
public string NavIcon { get; set; }
Property Value
ScrollTarget
Page scroll target
[Parameter]
public string ScrollTarget { get; set; }
Property Value
Title
App bar title.
[Parameter]
public string Title { get; set; }
Property Value
TopAppBarType
Top app bar type. See MBTopAppBarType
[Parameter]
public MBTopAppBarType TopAppBarType { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
protected override Task OnInitializedAsync()