KeyboardDevice.IsKeyUp(Key) Metod

Definition

Avgör om den angivna Key är i up-tillstånd.

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

Parametrar

key
Key

Nyckeln som ska kontrolleras.

Returer

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

Undantag

key är inte en giltig nyckel.

Gäller för