Class Stack
Children in a row or a column. Each takes its content size along the axis; those with DarkEffekt.Terminal.UI.Element.Grow share what is left. Across the axis every child gets the full extent.
Assembly: DarkEffekt.Terminal.UI
Section titled “Assembly: DarkEffekt.Terminal.UI”public sealed class Stack : ContainerInheritance: System.Object -> DarkEffekt.Terminal.UI.Element -> DarkEffekt.Terminal.UI.Container
Properties
Section titled “Properties”public Axis Axis { get; set; }Spacing
Section titled “Spacing”Blank cells between children.
public int Spacing { get; set; }Methods
Section titled “Methods”MeasureCore(CellSize)
Section titled “MeasureCore(CellSize)”The size this element wants, within the room given.
protected override CellSize MeasureCore(CellSize available)Returns
Section titled “Returns”DarkEffekt.Terminal.UI.CellSize
Parameters
Section titled “Parameters”| Type | Name |
|---|---|
| DarkEffekt.Terminal.UI.CellSize | available |
ArrangeCore(CellRect)
Section titled “ArrangeCore(CellRect)”Places the children inside this element’s rectangle.
protected override void ArrangeCore(CellRect rect)Parameters
Section titled “Parameters”| Type | Name |
|---|---|
| DarkEffekt.Terminal.UI.CellRect | rect |