Struct
KeyHint
ConsoleMonster.Widgets
One key hint in a footer: the keys ("ctrl+c", "↑↓") and what they do ("stop", "move").
Inheritance
- ValueType
- KeyHint
Usage
Explore 15 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
- Property Dashboard.FooterHints
- Property FooterBar.Hints
- Property FooterBar.HintsSource
Accepted by parameters 12
- Extension method Dashboard.FooterHint
- Extension method Dashboard.FooterHints
- Method DashboardFluent.FooterHint
- Method DashboardFluent.FooterHints
- Constructor FooterBar.FooterBar
- Extension method FooterBar.Hint
- Extension method FooterBar.Hints
- Extension method FooterBar.HintsBy
- Method FooterBar.Line
- Method FooterBarFluent.Hint
- Method FooterBarFluent.Hints
- Method FooterBarFluent.HintsBy
Constructors
KeyHint 2 overloads
public KeyHint(string keys, string label, bool available = true) #Creates a hint.
Parameters
- keys string
- The keys, lower case ("ctrl+c").
- label string
- What they do ("stop").
- available bool = true
- Whether the command can run in the current context.
public KeyHint(string keys, string label, KeyChord chord, bool available = true) #Creates a hint that a click in an app presses chord for, as the keyboard would.
Parameters
- keys string
- The keys, lower case ("f5").
- label string
- What they do ("refresh").
- chord ConsoleMonster.Input.KeyChord
- The key a click on the hint presses.
- available bool = true
- Whether the command can run in the current context; an unavailable hint does not click.