Share via


InputGestureCollection.IndexOf(InputGesture) 메서드

정의

InputGesture에서 첫 번째로 나타나는 지정된 InputGestureCollection을 검색합니다.

public:
 int IndexOf(System::Windows::Input::InputGesture ^ value);
public int IndexOf (System.Windows.Input.InputGesture value);
member this.IndexOf : System.Windows.Input.InputGesture -> int
Public Function IndexOf (value As InputGesture) As Integer

매개 변수

value
InputGesture

컬렉션에서 찾을 제스처입니다.

반환

바인딩이 있으면 첫 번째로 나타나는 value의 인덱스이고, 그렇지 않으면 -1입니다.

적용 대상