Class MBTopAppBar
A Material Theme top app bar
Implements
Inherited Members
Namespace: Material.Blazor
Assembly: Material.Blazor.dll
Syntax
public class MBTopAppBar : ComponentFoundation, IDisposable
Properties
| Improve this Doc View SourceChildContent
Render fragment where @Body is referenced.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment |
IconFoundry
The foundry to use for both leading and trailing icons.
IconFoundry="IconHelper.MIIcon()"
IconFoundry="IconHelper.FAIcon()"
IconFoundry="IconHelper.OIIcon()"
Overrides IconFoundryName
Declaration
public IMBIconFoundry IconFoundry { get; set; }
Property Value
Type | Description |
---|---|
IMBIconFoundry |
NavIcon
Navigation button icon.
Declaration
public string NavIcon { get; set; }
Property Value
Type | Description |
---|---|
String |
ScrollTarget
Page scroll target
Declaration
public string ScrollTarget { get; set; }
Property Value
Type | Description |
---|---|
String |
Title
App bar title.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
String |
TopAppBarType
Top app bar type. See MBTopAppBarType
Declaration
public MBTopAppBarType TopAppBarType { get; set; }
Property Value
Type | Description |
---|---|
MBTopAppBarType |
Methods
| Improve this Doc View SourceOnInitializedAsync()
Declaration
protected override async Task OnInitializedAsync()
Returns
Type | Description |
---|---|
Task |