Compartir vía


KeyInterop.VirtualKeyFromKey(Key) Método

Definición

Convierte un WPF Key en una clave virtual 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

Parámetros

key
Key

WPF que se va a convertir.

Devoluciones

Clave virtual win32.

Se aplica a