Table of Contents

Property Text

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Text

The text displayed by the View.

public virtual ustring Text { get; set; }

Property Value

ustring

Remarks

If provided, the text will be drawn before any subviews are drawn.

The text will be drawn starting at the view origin (0, 0) and will be formatted according to the TextAlignment property. If the view's height is greater than 1, the text will word-wrap to additional lines if it does not fit horizontally. If the view's height is 1, the text will be clipped.

Set the HotKeySpecifier to enable hotkey support. To disable hotkey support set HotKeySpecifier to (Rune)0xffff.