View.GestureRecognizers 속성

정의

이 보기에 연결된 제스처 인식기의 컬렉션입니다.

public:
 property System::Collections::Generic::IList<Microsoft::Maui::Controls::IGestureRecognizer ^> ^ GestureRecognizers { System::Collections::Generic::IList<Microsoft::Maui::Controls::IGestureRecognizer ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.Maui.Controls.IGestureRecognizer> GestureRecognizers { get; }
member this.GestureRecognizers : System.Collections.Generic.IList<Microsoft.Maui.Controls.IGestureRecognizer>
Public ReadOnly Property GestureRecognizers As IList(Of IGestureRecognizer)

속성 값

의 목록입니다 IGestureRecognizer.

구현

설명

이 컬렉션에 항목을 추가하면 제스처 이벤트가 이 요소와 연결됩니다. 요소가 이미 기본적으로 지원하는 제스처에 대한 제스처 인식기를 추가하지 않는 것이 좋습니다.

예를 들어 에 를 TapGestureRecognizer 추가하면 Button 예기치 않은 결과가 발생할 수 있습니다.

적용 대상