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
15| Name | Type | Description |
|---|---|---|
Behavior | ||
Focusable | Boolean | Makes a scrolling container a Tab stop that scrolls with the keyboard. See Focusable. |
OverscrollBehavior | OverscrollBehavior | Whether scrolling continues in the parent scroll container at the limit. See OverscrollBehavior. |
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. |
Height | Nullable<Int32> | Explicit height in terminal rows; give a scrolling container a height or fill a bounded parent. |
Width | Nullable<Int32> | Explicit width in terminal cells. |
Common | ||
ChildContent | RenderFragment | Content to arrange in columns. |
Other | ||
Controller | ScrollController | Scrolls the container from code. See Controller. |
Expand | Boolean | Arranges content in horizontal columns using Spectre.Console's Columns renderable. |
Overflow | OverflowMode | What happens to content taller than the container. See Overflow. |
ScrollId | String | Stable identity of the scroll state. See ScrollId. |
ScrollTop | Int32 | Scroll offset in rows, applied when its value changes. See ScrollTop. |
ScrollTopChanged | EventCallback<Int32> | Raised when the engine changes the scroll offset. |
Scrollbar | ScrollbarSettings | How the scrollbar looks and where it is drawn. See Scrollbar. |
StickToBottom | Boolean | Keeps the end of the content in view while it grows. See StickToBottom. |
Methods
1| Name | Type | Description |
|---|---|---|
BuildRenderTree(RenderTreeBuilder)() | Method | Renders the component to the supplied RenderTreeBuilder. |