Managed Windows API
Hotkey Class
NamespacesManagedWinapiHotkey
Specifies a component that creates a global keyboard hotkey.
Declaration Syntax
C#
public class Hotkey : Component
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
Hotkey(IContainer)
Initializes a new instance of this class with the specified container.

Hotkey()()()
Initializes a new instance of this class.

Alt
Whether this shortcut includes the Alt modifier.

Ctrl
Whether the shortcut includes the Control modifier.

Dispose(Boolean)
Releases all resources used by the System.ComponentModel.Component.
(Overrides Component.Dispose(Boolean).)
Enabled
Enables the hotkey. When the hotkey is enabled, pressing it causes a HotkeyPressed event instead of being handled by the active application.

HotkeyPressed
Occurs when the hotkey is pressed.

KeyCode
The key code of the hotkey.

Shift
Whether this shortcut includes the shift modifier.

WindowsKey
Whether this shortcut includes the Windows key modifier. The windows key is an addition by Microsoft to the keyboard layout. It is located between Control and Alt and depicts a Windows flag.

Inheritance Hierarchy

Assembly: ManagedWinapi (Module: ManagedWinapi) Version: 0.3.0.0 (0.3)