Skip to content

MainLayout

Namespace: SlottyMedia.Components.Layout

public class MainLayout : Microsoft.AspNetCore.Components.LayoutComponentBase, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender

Inheritance Object → ComponentBase → LayoutComponentBase → MainLayout
Implements IComponent, IHandleEvent, IHandleAfterRender

Properties

Body

public RenderFragment Body { get; set; }

Property Value

RenderFragment

Constructors

MainLayout()

public MainLayout()

Methods

BuildRenderTree(RenderTreeBuilder)

protected void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

OnAfterRenderAsync(Boolean)

protected Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender Boolean

Returns

Task