Table of Contents

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 string
textr string
p Placement
x int
y int
lf CharFormat
rf CharFormat

Properties

LeftFormat

Left label format

public CharFormat? LeftFormat { get; set; }

Property Value

CharFormat

LeftText

public string LeftText { get; set; }

Property Value

string

RightFormat

Right label format

public CharFormat? RightFormat { get; set; }

Property Value

CharFormat

RightText

public string RightText { get; set; }

Property Value

string

Methods

GenerateBuffer()

The method that generates the element's buffer

protected override Buffer GenerateBuffer()

Returns

Buffer