KeyInterop Class

 

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

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

System.Object
  System.Windows.Input.KeyInterop

public static class KeyInterop

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticKeyFromVirtualKey(Int32)

Converts a Win32 Virtual-Key into WPF Key.

System_CAPS_pubmethodSystem_CAPS_staticVirtualKeyFromKey(Key)

Converts a WPF Key into a Win32 Virtual-Key.

.NET Framework
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.

Return to top
Show: