Share via


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입니다.

적용 대상

추가 정보