KeyInterop Class
.NET Framework (current version)
Provides static methods to convert between Win32 Virtual-Keys and the WPF Key enumeration.
Assembly: WindowsBase (in WindowsBase.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | KeyFromVirtualKey(Int32) | Converts a Win32 Virtual-Key into WPF Key. |
![]() ![]() | VirtualKeyFromKey(Key) | Converts a WPF Key into a Win32 Virtual-Key. |
.NET Framework
Available since 3.0
Available since 3.0
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:

