Rows

Layout

Arranges 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
NameTypeDefaultDescription
Behavior
FocusableBoolean—Makes a scrolling container a Tab stop that scrolls with the keyboard. See Focusable.
OverscrollBehaviorOverscrollBehavior—Whether scrolling continues in the parent scroll container at the limit. See OverscrollBehavior.
Appearance
FillHeightBoolean—Whether rows should fill the height offered by their parent.
FillWidthBoolean—Whether rows should fill the width offered by their parent.
HeightNullable<Int32>—Explicit height in terminal rows; give a scrolling container a height or fill a bounded parent.
WidthNullable<Int32>—Explicit width in terminal cells.
Events
ScrollTopChangedEventCallback<Int32>—Raised when the engine changes the scroll offset.
Common
ChildContentRenderFragment—Content to arrange in rows.
Other
ControllerScrollController—Scrolls the container from code. See Controller.
ExpandBoolean—Arranges content in vertical rows using Spectre.Console's Rows renderable.
OverflowOverflowMode—What happens to content taller than the container. See Overflow.
ScrollIdString—Stable identity of the scroll state. See ScrollId.
ScrollTopInt32—Scroll offset in rows, applied when its value changes. See ScrollTop.
ScrollbarScrollbarSettings—How the scrollbar looks and where it is drawn. See Scrollbar.
StickToBottomBoolean—Keeps the end of the content in view while it grows. See StickToBottom.

API