We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Open carousel item in another Page using Binding

Thread ID:





147879 Sep 26,2019 05:32 PM UTC Sep 27,2019 01:44 PM UTC Xamarin.Forms 1
Tags: SfCarousel
Luis Mendoza
Asked On September 26, 2019 05:32 PM UTC

How can I tap a carousel image and view it in another page. I´m using sfcarousel with itemtemplate and into image I am using a command. below I put the code.

            <DataTemplate x:Key="itemTemplate">
                    BindingContext="{Binding Proms}"
                    Source="{Binding Image}"
                        <TapGestureRecognizer Command="{Binding Path=BindingContext.OpenImage, Source={x:Reference carousel}}"
                                              CommandParameter="{x:Reference ImageCarousel}"/>

Muneesh Kumar G [Syncfusion]
Replied On September 27, 2019 01:44 PM UTC

Hi Luis, 
Greetings from Syncfusion. 
We have prepared a sample using SelectionChangedEvent in SfCarousel Control when the image is Tapped directly for the image tapped. Please have the sample for the same,

Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/CarouselPageNavigation1006564269

Please check with the sample and if the requirement differs from the above scenario. Please explain the requirement in detail or provide a pictorial representation for the same which will be easier for us to provide the solution. 
Muneesh Kumar G.   


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon