Export (0) Print
Expand All

KeyInterop Class

Provides static methods to convert between Win32 Virtual-Keys and the WPF Key enumeration.

System.Object
  System.Windows.Input.KeyInterop

Namespace:  System.Windows.Input
Assembly:  WindowsBase (in WindowsBase.dll)

'Declaration
Public NotInheritable Class KeyInterop

The KeyInterop type exposes the following members.

  NameDescription
Public methodStatic memberKeyFromVirtualKeyConverts a Win32 Virtual-Key into WPF Key.
Public methodStatic memberVirtualKeyFromKeyConverts a WPF Key into a Win32 Virtual-Key.
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft