Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

How to implement scroll gesture?

$
0
0

we can implement click, double click event by adding TapGestureRecognizer like this
scrollContent.GestureRecognizers.Add(new TapGestureRecognizer
{
Command = new Command(Content_DoubleClicked),
NumberOfTapsRequired = 2
} );
scrollContent.GestureRecognizers.Add(new TapGestureRecognizer
{
Command = new Command(Content_Clicked),
NumberOfTapsRequired = 1
} );

then, How to capture scroll event for a scrollview?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>