KeyboardDevice.GetKeyStates(Key) Metoda

Definicja

Pobiera zestaw stanów kluczy dla określonego Keyelementu .

public:
 System::Windows::Input::KeyStates GetKeyStates(System::Windows::Input::Key key);
public System.Windows.Input.KeyStates GetKeyStates (System.Windows.Input.Key key);
member this.GetKeyStates : System.Windows.Input.Key -> System.Windows.Input.KeyStates
Public Function GetKeyStates (key As Key) As KeyStates

Parametry

key
Key

Klucz do sprawdzenia.

Zwraca

Zestaw stanów kluczy dla określonego klucza.

Wyjątki

key nie jest prawidłowym kluczem.

Dotyczy