Class MudNavMenu
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
public class MudNavMenu : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
- Inheritance
-
MudNavMenu
- Implements
- Inherited Members
- Extension Methods
Constructors
MudNavMenu()
public MudNavMenu()
Properties
Bordered
If true, adds a border of the active NavLink, does nothing if variant outlined is used.
[Parameter]
[Category("Appearance")]
public bool Bordered { get; set; }
Property Value
ChildContent
[Parameter]
[Category("Behavior")]
public RenderFragment? ChildContent { get; set; }
Property Value
Classname
protected string Classname { get; }
Property Value
Color
The color of the active NavLink.
[Parameter]
[Category("Appearance")]
public Color Color { get; set; }
Property Value
Dense
If true, compact vertical padding will be applied to all navmenu items.
[Parameter]
[Category("Appearance")]
public bool Dense { get; set; }
Property Value
Margin
Adjust the vertical spacing between navlinks.
[Parameter]
[Category("Appearance")]
public Margin Margin { get; set; }
Property Value
Rounded
If true, default theme border-radius will be used on all navlinks.
[Parameter]
[Category("Appearance")]
public bool Rounded { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder