Compartilhar via


KeyInterop.KeyFromVirtualKey(Int32) Método

Definição

Converte um Virtual-Key Win32 em 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

Parâmetros

virtualKey
Int32

A tecla virtual a ser convertida.

Retornos

Key

A chave WPF.

Aplica-se a