LayoutView Class

Definition

Displays the specified content inside the specified layout and any further nested layouts.

public ref class LayoutView : Microsoft::AspNetCore::Components::IComponent
public class LayoutView : Microsoft.AspNetCore.Components.IComponent
type LayoutView = class
    interface IComponent
Public Class LayoutView
Implements IComponent
Inheritance
LayoutView
Implements

Constructors

LayoutView()

Properties

ChildContent

Gets or sets the content to display.

Layout

Gets or sets the type of the layout in which to display the content. The type must implement IComponent and accept a parameter named Body.

Methods

Attach(RenderHandle)

Attaches the component to a RenderHandle.

SetParametersAsync(ParameterView)

Sets parameters supplied by the component's parent in the render tree.

Applies to