Table of Contents

Class TuiLabel

Namespace
AshConsoleGraphics
Assembly
AshConsoleGraphics.dll

Just some text

public class TuiLabel : TuiElement
Inheritance
TuiLabel
Inherited Members

Constructors

TuiLabel(string, Placement, int, int, CharFormat?)

Initializes a new label

public TuiLabel(string text, Placement p, int x, int y, CharFormat? f = null)

Parameters

text string

The text

p Placement
x int
y int
f CharFormat

The format

Properties

Format

Charachter format

public CharFormat? Format { get; set; }

Property Value

CharFormat

Text

public string Text { get; set; }

Property Value

string

Methods

GenerateBuffer()

The method that generates the element's buffer

protected override Buffer GenerateBuffer()

Returns

Buffer