Class KeyboardHookEventArgs
Information on keyboard changes
Inheritance
System.Object
KeyboardHookEventArgs
Namespace: Dapplo.Windows.Input
Assembly: Dapplo.Windows.Input.dll
Syntax
public class KeyboardHookEventArgs : EventArgs
Properties
| Improve this Doc View SourceHandled
Set this to true if the event is handled, other event-handlers in the chain will not be called
Declaration
public bool Handled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsAlt
True if Alt key is pressed
Declaration
public bool IsAlt { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsCapsLockActive
Is the caps-lock currently active?
Declaration
public bool IsCapsLockActive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsControl
True if control is pressed
Declaration
public bool IsControl { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsKeyDown
Is this a key down, else it's up
Declaration
public bool IsKeyDown { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsLeftAlt
Is the alt on the left side pressed?
Declaration
public bool IsLeftAlt { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsLeftControl
Is the control on the left side pressed?
Declaration
public bool IsLeftControl { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsLeftShift
Is the shift on the left side pressed?
Declaration
public bool IsLeftShift { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsLeftWindows
Is the windows key on the left side pressed?
Declaration
public bool IsLeftWindows { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsNumLockActive
Is the num-lock currently active?
Declaration
public bool IsNumLockActive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRightAlt
Is the alt on the right side pressed?
Declaration
public bool IsRightAlt { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRightControl
Is the control on the right side pressed?
Declaration
public bool IsRightControl { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRightShift
Is the shift on the right side pressed?
Declaration
public bool IsRightShift { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRightWindows
Is the windows key on the right side pressed?
Declaration
public bool IsRightWindows { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsScrollLockActive
Is the scroll-lock currently active?
Declaration
public bool IsScrollLockActive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsShift
True if shift is pressed
Declaration
public bool IsShift { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSystemKey
Is this a system key
Declaration
public bool IsSystemKey { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsWindows
True if shift is pressed
Declaration
public bool IsWindows { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Key
The key code itself
Declaration
public VirtualKeyCodes Key { get; set; }
Property Value
Type | Description |
---|---|
VirtualKeyCodes |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |