InputGesture.Matches(Object, InputEventArgs) Méthode

Définition

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.

S’applique à

Voir aussi