Class MudNavGroup
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
public class MudNavGroup : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
- Inheritance
-
MudNavGroup
- Implements
- Inherited Members
- Extension Methods
Constructors
MudNavGroup()
public MudNavGroup()
Properties
ButtonClassname
protected string ButtonClassname { get; }
Property Value
ButtonTabIndex
protected int ButtonTabIndex { get; }
Property Value
ChildContent
[Parameter]
[Category("Behavior")]
public RenderFragment? ChildContent { get; set; }
Property Value
Classname
protected string Classname { get; }
Property Value
Disabled
If true, the button will be disabled.
[Parameter]
[Category("Behavior")]
public bool Disabled { get; set; }
Property Value
ExpandIcon
If set, overrides the default expand icon.
[Parameter]
[Category("Appearance")]
public string ExpandIcon { get; set; }
Property Value
ExpandIconClassname
protected string ExpandIconClassname { get; }
Property Value
Expanded
If true, expands the nav group, otherwise collapse it. Two-way bindable
[Parameter]
[Category("Behavior")]
public bool Expanded { get; set; }
Property Value
ExpandedChanged
[Parameter]
public EventCallback<bool> ExpandedChanged { get; set; }
Property Value
HideExpandIcon
If true, hides expand-icon at the end of the NavGroup.
[Parameter]
[Category("Appearance")]
public bool HideExpandIcon { get; set; }
Property Value
Icon
Icon to use if set.
[Parameter]
[Category("Behavior")]
public string? Icon { get; set; }
Property Value
IconClassname
protected string IconClassname { get; }
Property Value
IconColor
The color of the icon. It supports the theme colors, default value uses the themes drawer icon color.
[Parameter]
[Category("Appearance")]
public Color IconColor { get; set; }
Property Value
MaxHeight
Explicitly sets the height for the Collapse element to override the css default.
[Parameter]
[Category("Appearance")]
public int? MaxHeight { get; set; }
Property Value
- int?
Ripple
Gets or sets whether to show a ripple effect when the user clicks the button. Default is true.
[Parameter]
[Category("Appearance")]
public bool Ripple { get; set; }
Property Value
Title
[Parameter]
[Category("Behavior")]
public string? Title { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
OnInitialized()
protected override void OnInitialized()