Class PopupMenuShortcut
- Namespace
- Forma
- Assembly
- Forma.dll
Retained keyboard shortcut/accelerator descriptor used by PopupMenu.
public sealed class PopupMenuShortcut
- Inheritance
-
PopupMenuShortcut
- Inherited Members
Constructors
PopupMenuShortcut(string, Keys, bool, bool, bool, bool)
public PopupMenuShortcut(string name, Keys key, bool control = false, bool alt = false, bool shift = false, bool meta = false)
Parameters
Properties
Alt
public bool Alt { get; }
Property Value
Control
public bool Control { get; }
Property Value
DisplayText
public string DisplayText { get; }
Property Value
IsValid
public bool IsValid { get; }
Property Value
Key
public Keys Key { get; }
Property Value
- Keys
Meta
public bool Meta { get; }
Property Value
Name
public string Name { get; }
Property Value
Shift
public bool Shift { get; }
Property Value
Methods
Matches(Keys, KeyboardState)
public bool Matches(Keys key, KeyboardState keyboard)
Parameters
keyKeyskeyboardKeyboardState