InputGesture.Matches(Object, InputEventArgs) メソッド

定義

派生クラスでオーバーライドされた場合、指定した InputGesture が、指定した 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

パラメーター

targetElement
Object

コマンドのターゲット。

inputEventArgs
InputEventArgs

このジェスチャを比較する入力イベント データ。

返品

true ジェスチャが入力と一致する場合。それ以外の場合は false

適用対象

こちらもご覧ください