Rows
LayoutArranges children in rows.
@using Spectre.Console
@using RazorConsole.Components
<Rows>
<Markup Content="Row 1" />
<Markup Content="Row 2" />
<Markup Content="Row 3" />
</Rows>Parameters
15| Name | Type | Default | 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 rows should fill the height offered by their parent. |
FillWidth | Boolean | — | Whether rows 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. |
Events | |||
ScrollTopChanged | EventCallback<Int32> | — | Raised when the engine changes the scroll offset. |
Common | |||
ChildContent | RenderFragment | — | Content to arrange in rows. |
Other | |||
Controller | ScrollController | — | Scrolls the container from code. See Controller. |
Expand | Boolean | — | Arranges content in vertical rows using Spectre.Console's Rows 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. |
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. |