View.GestureRecognizers Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The collection of gesture recognizers associated with this view.
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)
Property Value
Implements
Remarks
Adding items to this collection will associate gesture events with this element. It is not recommended to add gesture recognizers for gestures that elements already natively support.
For example, adding a TapGestureRecognizer to a Button may lead to unexpected results.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.