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

Is the documentation for Carousel up to date?

I'm following this page :: http://help.syncfusion.com/xamarin/sfcarousel/overview  

We cannot get this to work, there's no itemTemplate to reference. Can you please point me to a working Xamarin example?

Also, are you able to click on an image in order to see the full sized image and pinch zoom on it?


Thanks,
Steve

3 Replies

HM Hemalatha Marikumar Syncfusion Team July 26, 2016 06:27 AM UTC

Hi Steve,

Thanks for contacting Syncfusion Support.

Query: Can you please point me to a working Xamarin example?

We are glad to let you know that in our latest Volume 2 2016 release we have provided support for having Custom View and itemTemplate support. In that we can have Images from any custom source and it can be assigned to SfCarouselItem's ContentView property API or we can assign a Datatemplate to the ItemTemplate property.

For more details, please check our user documentation for Carousel

Link: http://help.syncfusion.com/xamarin/sfcarousel/getting-started


Please upgrade to our latest Syncfusion version to have these features and below is the download link for upgrading the Syncfusion version.

https://www.syncfusion.com/forums/124709/essential-studio-2016-volume-2-release-v14-2-0-26-is-available-for-download


We have created a sample for carousel with itemTemplate . Please download the same from the following link

Link: http://www.syncfusion.com/downloads/support/forum/125119/ze/ExampleProjectSample_21930924354 

Query: are you able to click on an image in order to see the full sized image and pinch zoom on it?

Your requirement can be achieved by using "Tapped event with SfCarouselItem". Please refer the following code example

Code Example,
 

  
SfCarouselItem item = new SfCarouselItem();

TapGestureRecognizer tappedGestureRecognizer = new TapGestureRecognizer();


tappedGestureRecognizer.Tapped += (object sender, System.EventArgs e) =>
{

// Zooming effect code for Images

};

item.GestureRecognizers.Add(tappedGestureRecognizer);
  
Regards, 
Hemalatha M.R 



SA Samir replied to Hemalatha Marikumar March 16, 2019 06:00 PM UTC

Hi Steve,

Thanks for contacting Syncfusion Support.

Query: Can you please point me to a working Xamarin example?

We are glad to let you know that in our latest Volume 2 2016 release we have provided support for having Custom View and itemTemplate support. In that we can have Images from any custom source and it can be assigned to SfCarouselItem's ContentView property API or we can assign a Datatemplate to the ItemTemplate property.

For more details, please check our user documentation for Carousel

Link: http://help.syncfusion.com/xamarin/sfcarousel/getting-started


Please upgrade to our latest Syncfusion version to have these features and below is the download link for upgrading the Syncfusion version.

https://www.syncfusion.com/forums/124709/essential-studio-2016-volume-2-release-v14-2-0-26-is-available-for-download


We have created a sample for carousel with itemTemplate . Please download the same from the following link

Link: http://www.syncfusion.com/downloads/support/forum/125119/ze/ExampleProjectSample_21930924354 

Query: are you able to click on an image in order to see the full sized image and pinch zoom on it?

Your requirement can be achieved by using "Tapped event with SfCarouselItem". Please refer the following code example

Code Example,
 

  
SfCarouselItem item = new SfCarouselItem();

TapGestureRecognizer tappedGestureRecognizer = new TapGestureRecognizer();


tappedGestureRecognizer.Tapped += (object sender, System.EventArgs e) =>
{

// Zooming effect code for Images

};

item.GestureRecognizers.Add(tappedGestureRecognizer);
  
Regards, 
Hemalatha M.R 


Can you please make a sample regarding tapped event on each items. Thank's


MS Mugundhan Saravanan Syncfusion Team March 20, 2019 01:11 PM UTC

Hi Samir 
 
We have created the SfCarousel sample in which we have provided TapGesture for the image inside ItemTemplate and, on tapping the carousel item, the event gets fired. Please refer the sample in the below link for the same. 
  
 
Please let us know if you have any other concern.

Thanks, 
Mugundhan S. 


Loader.
Live Chat Icon For mobile
Up arrow icon