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

show only 3 items in carousel from list of items

Thread ID:





141576 Dec 18,2018 07:47 PM UTC Dec 19,2018 11:12 AM UTC Xamarin.Forms 3
Tags: SfCarousel
Hardik Parmar
Asked On December 18, 2018 07:47 PM UTC

Hello there,

I want to show only three items from list of 10 items in carousel. when I move to next item by default the first item will be hidden and want to show only second, third and fourth item. Is it possible with sfcarousel?

Paul Anderson S [Syncfusion]
Replied On December 19, 2018 09:33 AM UTC

Hi Hardik Parmar, 
Greetings from Syncfusion. 
We have prepared a sample based on your requirement, in which we have set the Offset and SelectedItemOffset property of SfCarousel to minimum value. So that, on view we can have only 3 items on selecting the 3rd item it will be at the center and 4th item will come to the view. Please download the sample for the same from the link given below. 
Sample: CarouselSample 
Please share additional details if your requirement differs from the provided sample. 
Paul Anderson 

Hardik Parmar
Replied On December 19, 2018 10:53 AM UTC

Hello Paul,

Thank you very much for the help, it works really great and my problem has been solved. I need it for text based carousel but that offset and selecteditemoffset works really well with text carousel as well.

Once again thank you very much for your support.

I really appreciate it.

Thank you,

Paul Anderson S [Syncfusion]
Replied On December 19, 2018 11:12 AM UTC

Hi Hardik Parmar, 
Thanks for the update. We are glad that your requirement has been achieved. Please get in touch if you required further assistance. 
Paul Anderson 


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