Table of Contents

Class Label

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

The Label View displays text that describes the View next in the Subviews. When Label recieves a HotKey command it will pass it to the next View in Subviews.

public class Label : View, IDisposable, ISupportInitializeNotification, ISupportInitialize, IDesignable
Inheritance
Label
Implements
Inherited Members

Remarks

Title and Text are the same property. When Title is set Text s also set. When Text is set Title is also set.

If CanFocus is false and the use clicks on the Label, the HotKey will be invoked on the next View in Subviews."

Constructors

Label()

Initializes a new instance of View.

Properties

HotKeySpecifier

Gets or sets the specifier character for the hot key (e.g. '_'). Set to '\xffff' to disable automatic hot key setting support for this View instance. The default is '\xffff'.

Text

The text displayed by the View.