Table of Contents

Class MudLayout

Namespace
MudBlazor
Assembly
MudBlazor.dll

A component which defines a common structure for multiple pages.

public class MudLayout : MudDrawerContainer, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
Inheritance
MudLayout
Implements
Inherited Members
Extension Methods

Remarks

Layouts often contain MudAppBar and MudDrawer components. The MudMainContent component is used to contain page content.
In your layout component, but above this component, add MudThemeProvider, MudPopoverProvider, MudDialogProvider, and MudSnackbarProvider components to enable all MudBlazor features.

Constructors

MudLayout()

public MudLayout()

Properties

Classname

protected override string Classname { get; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

See Also