Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 NotInheritable 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:
© 2017 Microsoft