Class TuiTwoLabels
- Namespace
- AshConsoleGraphics
- Assembly
- AshConsoleGraphics.dll
Two labels side by side, left and right text
public class TuiTwoLabels : TuiElement
- Inheritance
-
TuiTwoLabels
- Inherited Members
Constructors
TuiTwoLabels(string, string, Placement, int, int, CharFormat?, CharFormat?)
Initializes a new label
public TuiTwoLabels(string textl, string textr, Placement p, int x, int y, CharFormat? lf = null, CharFormat? rf = null)
Parameters
textl
stringtextr
stringp
Placementx
inty
intlf
CharFormatrf
CharFormat
Properties
LeftFormat
Left label format
public CharFormat? LeftFormat { get; set; }
Property Value
LeftText
public string LeftText { get; set; }
Property Value
RightFormat
Right label format
public CharFormat? RightFormat { get; set; }
Property Value
RightText
public string RightText { get; set; }
Property Value
Methods
GenerateBuffer()
The method that generates the element's buffer
protected override Buffer GenerateBuffer()