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

WinRT DoubleTapped and item reference

Hi,

I'm using the Carousel in my application to display cover pictures. There is something I don't know how to achieved : 
The user selects a cover and clicks/taps (or double clicks/taps) on it and the app navigates to a detail page of the item. My problem is how to get the item tapped or a list the image with a tag attribute or anything that helps me what to load on the detail page.

There is an event Tapped or DoubleTapped but I do not find any useful information to determine which item has been tapped.
Can you help me ? 

Thanks in advance
 

3 Replies

BK Bharadhi K Syncfusion Team October 27, 2014 12:24 PM UTC

Hi Cocotteseb,

 

Thank you for using Syncfusion products.

 

You can determine which Item has been tapped by hooking the SelectionChanged event or using the SelectedItem property in the Tapped event. I have demonstrated the SelectionChanged in the sample.



Please download the sample from the following link.


Regards,

Bharadhi K


Attachment: Carousal_117468_8b9fe820.zip


CO Cocotteseb October 27, 2014 10:21 PM UTC

I didn't thought to cast the sender to sfCarousel. 
That works great. Problem solved. Many thanks for the answer and the sample :)

PS : you should add this to the documentation or the demo solution.


BK Bharadhi K Syncfusion Team October 28, 2014 06:23 AM UTC

Hi Cocotteseb,

We are happy to know that your problem is resolved.

Thank you for your suggestion, we will add this to our documentation in our upcoming release.

Regards,
Bharadhi K

Loader.
Live Chat Icon For mobile
Up arrow icon