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

CarouselPage swipe event

$
0
0

Hello.

I'm trying to catch a swipe event on a carouselPage. I can't find anything on this in the documentation, so i'm trying to make a workaround where i catch a change event on "CurrentPage".

    private void OnPropertyChanging(object sender, PropertyChangingEventArgs e)
    {
        if (e.PropertyName == "CurrentPage")
        {
            //do something
        }
    }

I added this to my CarouselPage subbclass, but the event never triggers during swipe. What am i doing wrong?
Is there no real swipevent that i can catch?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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