Udostępnij za pośrednictwem


KeyInterop.KeyFromVirtualKey(Int32) Metoda

Definicja

Konwertuje Virtual-Key Win32 na 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

Parametry

virtualKey
Int32

Klucz wirtualny do konwersji.

Zwraca

Key

Klucz WPF.

Dotyczy