Edit

Share via


KeyboardDevice.GetKeyStatesFromSystem(Key) Method

Definition

When overridden in a derived class, obtains the KeyStates for the specified Key.

protected:
 abstract System::Windows::Input::KeyStates GetKeyStatesFromSystem(System::Windows::Input::Key key);
protected abstract System.Windows.Input.KeyStates GetKeyStatesFromSystem (System.Windows.Input.Key key);
abstract member GetKeyStatesFromSystem : System.Windows.Input.Key -> System.Windows.Input.KeyStates
Protected MustOverride Function GetKeyStatesFromSystem (key As Key) As KeyStates

Parameters

key
Key

The key to check.

Returns

The set of key states for the specified key.

Applies to