Table of Contents

Property TextAlignment

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, the GetContentSize() will be adjusted to fit the text.