Skip to content

Latest commit

 

History

History

WorkingWithGestures

Working with Gestures

These samples relate to the Working with Gestures in Xamarin.Forms doc. The code to create a gesture recognizer for tapped events is simple:

var tapGestureRecognizer = 
	new TapGestureRecognizer();
//tapGestureRecognizer.NumberOfTapsRequired = 2; // double-tap
tapGestureRecognizer.Tapped += OnTapGestureRecognizerTapped;
frame.GestureRecognizers.Add(tapGestureRecognizer);

screenshot

Authors

Charles Petzold, Craig Dunn