Columns
ClassFor examples and usage details, see the component documentation.
View Columns ComponentNamespace:
RazorConsole.ComponentsAssembly:
RazorConsole.CoreDefinition
public class Columns : ComponentBase, IComponent, IHandleEvent, IHandleAfterRenderConstructors
1| Name | Type | Description |
|---|---|---|
Columns() | Constructor | — |
Properties
4| Name | Type | Description |
|---|---|---|
Appearance | ||
FillHeight | Boolean | Whether columns should fill the height offered by their parent. |
FillWidth | Boolean | Whether columns should fill the width offered by their parent. |
Common | ||
ChildContent | RenderFragment | Content to arrange in columns. |
Other | ||
Expand | Boolean | Arranges content in horizontal columns using Spectre.Console's Columns renderable. |
Methods
1| Name | Type | Description |
|---|---|---|
BuildRenderTree(RenderTreeBuilder)() | Method | Renders the component to the supplied RenderTreeBuilder. |