Columns

Class

For examples and usage details, see the component documentation.

View Columns Component
Namespace: RazorConsole.Components
Assembly: RazorConsole.Core

Definition

public class Columns : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Constructors

1
NameTypeDescription
Columns()Constructor—

Properties

4
NameTypeDescription
Appearance
FillHeightBooleanWhether columns should fill the height offered by their parent.
FillWidthBooleanWhether columns should fill the width offered by their parent.
Common
ChildContentRenderFragmentContent to arrange in columns.
Other
ExpandBooleanArranges content in horizontal columns using Spectre.Console's Columns renderable.

Methods

1
NameTypeDescription
BuildRenderTree(RenderTreeBuilder)()MethodRenders the component to the supplied RenderTreeBuilder.