• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Dapplo.Windows.App
    • AppQuery
  • Dapplo.Windows.Citrix
    • WinFrame
  • Dapplo.Windows.Citrix.Enums
    • ConnectStates
    • EventMask
    • InfoClasses
  • Dapplo.Windows.Citrix.Structs
    • ClientAddress
    • ClientDisplay
  • Dapplo.Windows.Clipboard
    • ClipboardMonitor
    • ClipboardNative
    • ClipboardUpdateInformation
    • StandardClipboardFormats
  • Dapplo.Windows.Com
    • ComProgIdAttribute
    • ComWrapper
    • DisposableCom
    • IDispatch
    • IDisposableCom<T>
    • IOleCommandTarget
    • IOleWindow
    • IUnknown
  • Dapplo.Windows.Common
    • Win32
    • WindowsVersion
  • Dapplo.Windows.Common.Enums
    • AdjacentTo
    • HResult
    • Win32Error
  • Dapplo.Windows.Common.Extensions
    • HResultExtensions
    • RectExensions
  • Dapplo.Windows.Common.Structs
    • POINT
    • RECT
    • RECTF
    • SIZE
  • Dapplo.Windows.Desktop
    • EnvironmentChangedEventArgs
    • EnvironmentMonitor
    • IInteropWindow
    • InteropWindow
    • InteropWindowExtensions
    • InteropWindowFactory
    • InteropWindowQuery
    • WindowScroller
    • WindowsEnumerator
    • WinEventHook
  • Dapplo.Windows.DesktopWindowsManager
    • Dwm
    • DwmBlurBehind
    • DwmBlurBehindFlags
    • DwmSetIconicLivePreviewFlags
    • DwmThumbnailProperties
    • DwmThumbnailPropertyFlags
    • DwmWindowAttributes
  • Dapplo.Windows.Dpi
    • BitmapScaleHandler
    • BitmapScaleHandler<TKey>
    • DpiAwareness
    • DpiAwarenessContext
    • DpiHandler
    • WinProcListener
  • Dapplo.Windows.Dpi.Enums
    • MonitorDpiType
  • Dapplo.Windows.Dpi.Forms
    • DpiAwareForm
    • FormsExtensions
  • Dapplo.Windows.Dpi.Wpf
    • WindowExtensions
  • Dapplo.Windows.Enums
    • InteropWindowCacheFlags
    • WinEventHookFlags
    • WinEvents
  • Dapplo.Windows.Gdi32
    • Gdi32Api
    • GdiExtensions
    • GdiPlusApi
  • Dapplo.Windows.Gdi32.Enums
    • BitmapCompressionMethods
    • ColorSpaceEnum
    • DeviceCaps
    • GdiPlusStatus
    • GpUnit
    • RasterOperations
  • Dapplo.Windows.Gdi32.SafeHandles
    • SafeCompatibleDcHandle
    • SafeDcHandle
    • SafeDeviceContextHandle
    • SafeDibSectionHandle
    • SafeHBitmapHandle
    • SafeObjectHandle
    • SafeRegionHandle
    • SafeSelectObjectHandle
    • SafeWindowDcHandle
  • Dapplo.Windows.Gdi32.Structs
    • BitfieldColorMask
    • BitmapFileHeader
    • BitmapInfoHeader
    • BlurParams
    • CieXyz
    • CieXyzTripple
  • Dapplo.Windows.Input
    • Hotkey
    • InputGenerator
    • KeyboardHook
    • KeyboardHookEventArgs
    • MouseHook
    • MouseHookEventArgs
  • Dapplo.Windows.Input.Enums
    • ExtendedKeyFlags
    • ExtendedMouseFlags
    • HookTypes
    • InputTypes
    • KeyEventFlags
    • MouseEventFlags
    • ScanCodes
    • VirtualKeyCodes
  • Dapplo.Windows.Input.Structs
    • HardwareInput
    • Input
    • InputUnion
    • KeyboardInput
    • KeyboardLowLevelHookStruct
    • MouseInput
    • MouseLowLevelHookStruct
  • Dapplo.Windows.Interop
    • DisposableCom
    • IDisposableCom<T>
  • Dapplo.Windows.Kernel32
    • Kernel32Api
    • PsApi
  • Dapplo.Windows.Kernel32.Enums
    • GlobalMemorySettings
    • ProcessAccessRights
    • ThreadAccess
    • WindowsProducts
    • WindowsProductTypes
    • WindowsSuites
  • Dapplo.Windows.Kernel32.Structs
    • OsVersionInfoEx
  • Dapplo.Windows.Messages
    • WindowsMessage
    • WindowsMessages
    • WinProcHandler
  • Dapplo.Windows.Multimedia
    • SoundSettings
    • SystemSounds
    • WinMm
  • Dapplo.Windows.Native
    • Shell32
    • Shell32.FolderType
    • Shell32.IconSize
  • Dapplo.Windows.Shell32
    • Shell32Api
  • Dapplo.Windows.Shell32.Enums
    • AppBarEdges
    • AppBarMessages
    • AppBarStates
  • Dapplo.Windows.Shell32.Structs
    • AppBarData
  • Dapplo.Windows.Structs
    • WinEventInfo
  • Dapplo.Windows.User32
    • User32Api
    • User32Api.EnumWindowsProc
  • Dapplo.Windows.User32.Enums
    • ClassLongIndex
    • CursorInfoFlags
    • DesktopAccessRight
    • ExtendedWindowStyleFlags
    • GetWindowCommands
    • MonitorFrom
    • MonitorInfoFlags
    • ObjectIdentifiers
    • ObjectStates
    • PrintWindowFlags
    • RegionResults
    • ScrollBarCommands
    • ScrollBarStateIndexes
    • ScrollBarTypes
    • ScrollInfoMask
    • ScrollModes
    • SendMessageTimeoutFlags
    • ShowWindowCommands
    • SysCommands
    • SystemMetric
    • SystemParametersInfoActions
    • SystemParametersInfoBehaviors
    • TitleBarInfoIndexes
    • WindowLongIndex
    • WindowPlacementFlags
    • WindowPos
    • WindowStyleFlags
  • Dapplo.Windows.User32.SafeHandles
    • SafeCurrentInputDesktopHandle
    • SafeIconHandle
  • Dapplo.Windows.User32.Structs
    • AnimationInfo
    • CursorInfo
    • DisplayInfo
    • IconInfo
    • MonitorInfoEx
    • ScrollBarInfo
    • ScrollInfo
    • TitleBarInfoEx
    • WindowInfo
    • WindowPlacement

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 Source

Handled

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
| Improve this Doc View Source

IsAlt

True if Alt key is pressed

Declaration
public bool IsAlt { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsCapsLockActive

Is the caps-lock currently active?

Declaration
public bool IsCapsLockActive { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsControl

True if control is pressed

Declaration
public bool IsControl { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsKeyDown

Is this a key down, else it's up

Declaration
public bool IsKeyDown { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsLeftAlt

Is the alt on the left side pressed?

Declaration
public bool IsLeftAlt { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsLeftControl

Is the control on the left side pressed?

Declaration
public bool IsLeftControl { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsLeftShift

Is the shift on the left side pressed?

Declaration
public bool IsLeftShift { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsLeftWindows

Is the windows key on the left side pressed?

Declaration
public bool IsLeftWindows { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsNumLockActive

Is the num-lock currently active?

Declaration
public bool IsNumLockActive { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsRightAlt

Is the alt on the right side pressed?

Declaration
public bool IsRightAlt { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsRightControl

Is the control on the right side pressed?

Declaration
public bool IsRightControl { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsRightShift

Is the shift on the right side pressed?

Declaration
public bool IsRightShift { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsRightWindows

Is the windows key on the right side pressed?

Declaration
public bool IsRightWindows { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsScrollLockActive

Is the scroll-lock currently active?

Declaration
public bool IsScrollLockActive { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsShift

True if shift is pressed

Declaration
public bool IsShift { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsSystemKey

Is this a system key

Declaration
public bool IsSystemKey { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsWindows

True if shift is pressed

Declaration
public bool IsWindows { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Key

The key code itself

Declaration
public VirtualKeyCodes Key { get; set; }
Property Value
Type Description
VirtualKeyCodes

Methods

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 Dapplo