Condividi tramite


KeyInterop.KeyFromVirtualKey(Int32) Metodo

Definizione

Converte un Virtual-Key Win32 in 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

Parametri

virtualKey
Int32

La chiave virtuale da convertire.

Restituisce

Key

Chiave WPF.

Si applica a