Property TextAlignment | Terminal.Gui v2 (original) (raw)
Namespace
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
The text alignment.
Remarks
Width or Height are using Text, theGetContentSize() will be adjusted to fit the text.