Partager via


KeyInterop.KeyFromVirtualKey(Int32) Méthode

Définition

Convertit un Virtual-Key Win32 en 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

Paramètres

virtualKey
Int32

La touche virtuelle à convertir.

Retours

Key

Clé WPF.

S’applique à