A TextBox that can be used to select a keyboard shortcut.
A context menu allows selecting keys that are not available directly
by typing them.
| C# |
public class ShortcutBox : TextBox
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| ShortcutBox()()() |
Creates a new shortcut box.
| |
| Alt |
Whether the currently selected shortcut includes the Alt key.
| |
| Ctrl |
Whether the currently selected shortcut includes the Control key.
| |
| Dispose(Boolean) |
Clean up any resources being used.
(Overrides TextBox.Dispose(Boolean).) | |
| KeyCode |
The "non-modifier" key code of the currently selected shortcut, or
None if no key is selected.
| |
| Shift |
Whether the currently selected shortcut includes the Shift key.
| |
| Text |
The textual representation of the currently selected key.
This property cannot be set.
(Overrides TextBox.Text.) | |
| WindowsKey |
Whether the currently selected shortcut includes the Windows key.
|
| Object | ||||||
| MarshalByRefObject | ||||||
| Component | ||||||
| Control | ||||||
| TextBoxBase | ||||||
| TextBox | ||||||
| ShortcutBox | ||||||