Class Border
A box drawn around one child, with a title set into the top edge.
Assembly: DarkEffekt.Terminal.UI
Section titled “Assembly: DarkEffekt.Terminal.UI”public sealed class Border : ElementInheritance: System.Object -> DarkEffekt.Terminal.UI.Element
Properties
Section titled “Properties”public string Title { get; set; }public Element Child { get; set; }ChildCount
Section titled “ChildCount”public override int ChildCount { get; }Methods
Section titled “Methods”GetChild(int)
Section titled “GetChild(int)”public override Element GetChild(int index)Returns
Section titled “Returns”DarkEffekt.Terminal.UI.Element
Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.Int32 |
index |
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 |
RenderCore(CellCanvas)
Section titled “RenderCore(CellCanvas)”protected override void RenderCore(CellCanvas canvas)Parameters
Section titled “Parameters”| Type | Name |
|---|---|
| DarkEffekt.Terminal.UI.CellCanvas | canvas |