Table of Contents

Class MudDrawerHeader

Namespace
MudBlazor
Assembly
MudBlazor.dll

Represents content at the top of a MudDrawer.

public class MudDrawerHeader : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
Inheritance
MudDrawerHeader
Implements
Inherited Members
Extension Methods

Constructors

MudDrawerHeader()

public MudDrawerHeader()

Properties

ChildContent

Custom content within this component.

[Parameter]
[Category("Behavior")]
public RenderFragment? ChildContent { get; set; }

Property Value

RenderFragment

Classname

protected string Classname { get; }

Property Value

string

Dense

Uses compact padding.

[Parameter]
[Category("Appearance")]
public bool Dense { get; set; }

Property Value

bool

Remarks

Defaults to false.

LinkToIndex

Navigates to the index page on click.

[Parameter]
[Category("Behavior")]
public bool LinkToIndex { get; set; }

Property Value

bool

Remarks

Defaults to false. When true, the component will link to index page upon click.

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

See Also