KeyboardDevice.IsKeyUp(Key) Methode

Definition

Bestimmt, ob sich der angegebene Key Zustand im Up-Zustand befindet.

public:
 bool IsKeyUp(System::Windows::Input::Key key);
public bool IsKeyUp(System.Windows.Input.Key key);
member this.IsKeyUp : System.Windows.Input.Key -> bool
Public Function IsKeyUp (key As Key) As Boolean

Parameter

key
Key

Der zu überprüfende Schlüssel.

Gibt zurück

true if key is in the up state; otherwise, false.

Ausnahmen

key ist kein gültiger Schlüssel.

Gilt für: