Partager via


KeyInterop.VirtualKeyFromKey(Key) Méthode

Définition

Convertit un WPF Key en clé virtuelle Win32.

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

Paramètres

key
Key

WPF à convertir.

Retours

Clé virtuelle Win32.

S’applique à