InputGesture.Matches(Object, InputEventArgs) 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.
En cas de substitution dans une classe dérivée, détermine si le paramètre spécifié InputGesture correspond à l’entrée associée à l’objet spécifié InputEventArgs .
public:
abstract bool Matches(System::Object ^ targetElement, System::Windows::Input::InputEventArgs ^ inputEventArgs);
public abstract bool Matches(object targetElement, System.Windows.Input.InputEventArgs inputEventArgs);
abstract member Matches : obj * System.Windows.Input.InputEventArgs -> bool
Public MustOverride Function Matches (targetElement As Object, inputEventArgs As InputEventArgs) As Boolean
Paramètres
- targetElement
- Object
Cible de la commande.
- inputEventArgs
- InputEventArgs
Données d’événement d’entrée à comparer à ce mouvement.
Retours
true si le mouvement correspond à l’entrée ; sinon, false.