Property Title
Title
The title to be displayed for this View. The title can be used to set the HotKey
for the view by prefixing character with HotKeySpecifier (e.g. "T_itle").
public string Title { get; set; }
Property Value
- string
The title.
Remarks
Set the HotKeySpecifier to enable hotkey support. To disable Title-based hotkey support set
HotKeySpecifier to (Rune)0xffff.
Only the first HotKey specifier found in Title is supported.
To cause the hotkey to be rendered with Text,
set View.HotKeySpecifier to the desired character.
When Border is configured with Title and Thickness. Top is greater than 0 the Title will be displayed.
When Border is configured with TerminalTitle, and the View is a Runnable the Title will be rendered in the terminal's title bar using OSC 0..2 sequences when the View is Modal (see IsModal). In this case, hotkey specifiers will not be displayed in the terminal's title bar. See SetTerminalTitle(string, int) for more information.