KeyboardDevice.IsKeyUp(Key) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si la Key spécifiée est relâchée.
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
Paramètres
- key
- Key
Clé à vérifier.
Retours
true si key est relâché ; sinon, false.
Exceptions
key n'est pas une touche valide.