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

15
NameTypeDescription
Behavior
FocusableBooleanMakes a scrolling container a Tab stop that scrolls with the keyboard. See Focusable.
OverscrollBehaviorOverscrollBehaviorWhether scrolling continues in the parent scroll container at the limit. See OverscrollBehavior.
Appearance
FillHeightBooleanWhether columns should fill the height offered by their parent.
FillWidthBooleanWhether columns 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.
Common
ChildContentRenderFragmentContent to arrange in columns.
Other
ControllerScrollControllerScrolls the container from code. See Controller.
ExpandBooleanArranges content in horizontal columns using Spectre.Console's Columns renderable.
OverflowOverflowModeWhat happens to content taller than the container. See Overflow.
ScrollIdStringStable identity of the scroll state. See ScrollId.
ScrollTopInt32Scroll offset in rows, applied when its value changes. See ScrollTop.
ScrollTopChangedEventCallback<Int32>Raised when the engine changes the scroll offset.
ScrollbarScrollbarSettingsHow the scrollbar looks and where it is drawn. See Scrollbar.
StickToBottomBooleanKeeps the end of the content in view while it grows. See StickToBottom.

Methods

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