Property TextAlignment | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

TextAlignment

Gets or sets how the View's Text is aligned horizontally when drawn. Changing this property will redisplay the View.

public virtual Alignment TextAlignment { get; set; }

Property Value

Alignment

The text alignment.

Remarks

Width or Height are using Text, theGetContentSize() will be adjusted to fit the text.

Edit this page