Rows Class

Renders things in rows.
public sealed class Rows : Renderable, IRenderable, IExpandable
Namespace
Spectre.Console
Base Types

Constructors

Rows(IEnumerable<IRenderable>)
Initializes a new instance of the Rows class.
Rows(IRenderable[])
Initializes a new instance of the Rows class.

Properties

bool Expand
Gets or sets a value indicating whether or not the object should expand to the available space. If false, the object's width will be auto calculated.

Methods

protected override Measurement Measure(RenderOptions, int)
Measures the renderable object.
protected override IEnumerable<Segment> Render(RenderOptions, int)
Renders the object.

Extension Methods

T Collapse<Rows>()
Tells the specified object to not expand to the available area but take as little space as possible.
T Expand<Rows>()
Tells the specified object to expand to the available area.
IEnumerable<Segment> GetSegments(IAnsiConsole)
Gets the segments for a renderable using the specified console.