Muokkaa

Jaa


KeyInterop.KeyFromVirtualKey(Int32) Method

Definition

Converts a Win32 Virtual-Key into WPF Key.

public:
 static System::Windows::Input::Key KeyFromVirtualKey(int virtualKey);
public static System.Windows.Input.Key KeyFromVirtualKey (int virtualKey);
static member KeyFromVirtualKey : int -> System.Windows.Input.Key
Public Shared Function KeyFromVirtualKey (virtualKey As Integer) As Key

Parameters

virtualKey
Int32

The virtual key to convert.

Returns

Key

The WPF key.

Applies to