Columns

Layout

Arranges children in columns.

@using Spectre.Console
@using RazorConsole.Components

<Columns>
    <Markup Content="Column 1" />
    <Markup Content="Column 2" />
    <Markup Content="Column 3" />
</Columns>

Parameters

4
NameTypeDefaultDescription
Appearance
FillHeightBoolean—Whether columns should fill the height offered by their parent.
FillWidthBoolean—Whether columns should fill the width offered by their parent.
Common
ChildContentRenderFragment—Content to arrange in columns.
Other
ExpandBoolean—Arranges content in horizontal columns using Spectre.Console's Columns renderable.

API