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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfRotator click on an item event

Thread ID:

Created:

Updated:

Platform:

Replies:

132418 Aug 31,2017 12:22 PM UTC Dec 24,2018 12:30 PM UTC Xamarin.Forms 4
loading
Tags: SfRotator
Andreas Marty
Asked On August 31, 2017 12:22 PM UTC

Hi

How can I make a clickevent on a SfRotator item?

I have found this: http://help.syncfusion.com/cr/cref_files/xamarin/sfrotator/Syncfusion.SfRotator.XForms~Syncfusion.SfRotator.XForms.SfRotator+SelectedIndexChangedEventHandler.html

but
SelectedIndexChangedEventHandler cant't be found..

I can't find any example for this: https://help.syncfusion.com/xamarin-ios/sfrotator/overview

Can someone post an example how I must do this?

thanks for help



Eswaran Thirugnanasambandam [Syncfusion]
Replied On September 1, 2017 11:38 AM UTC

Hi Andreas Marty, 
  
Thanks for contacting syncfusion support. 
  
Your requirement can be achieved by using SelectedIndexChanged Event. When you click the rotator item the selectedIndexChangeed event will be call. 
  
Code Example: 
  
rotator.SelectedIndexChanged += (object sender, SelectedIndexChangedEventArgs e) => 
{

};
  
  
We have prepared the sample based on your requirement. Please find the sample from the below link.

Link: http://www.syncfusion.com/downloads/support/forum/132418/ze/132418rotator-1014006257
 
Please let us know if you have any query. 

Regards, 
Eswaran AT.
  


Christian
Replied On December 23, 2018 06:23 PM UTC

What aout picture clicked event? I mean, I have 10 pictures in the rotator control, I watch the 3rd pic and I want to click (tap) on that image (the bigger one) to see it on website (for example) or some action (process that image on another page, etc).
Is this possible?

Christian
Replied On December 23, 2018 07:58 PM UTC

What aout picture clicked event? I mean, I have 10 pictures in the rotator control, I watch the 3rd pic and I want to click (tap) on that image (the bigger one) to see it on website (for example) or some action (process that image on another page, etc).
Is this possible?

I made adding GestureRecognizer to Image object :D

Dhanasekar R [Syncfusion]
Replied On December 24, 2018 12:30 PM UTC

Hi Christian,  
  
Glad that the issue has been resolved and please get back to us if you need any other assistance.   
  
Thanks, 
Dhanasekar 


CONFIRMATION

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

;