Table of Contents

Class MudMainContent

Namespace
MudBlazor
Assembly
MudBlazor.dll

Represents the main content area of the MudLayout.

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

Constructors

MudMainContent()

public MudMainContent()

Properties

ChildContent

Sets the content to be rendered inside the main content area.

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

Property Value

RenderFragment

Classname

Gets the CSS class names for the component.

protected string Classname { get; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder