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

Attempting to replace native CarouselView with SfCarousel, but it's not rendering

Thread ID:

Created:

Updated:

Platform:

Replies:

142726 Feb 16,2019 06:12 PM UTC Feb 18,2019 12:37 PM UTC Xamarin.Forms 1
loading
Tags: SfCarousel
John
Asked On February 16, 2019 06:13 PM UTC

I'm attempting to do a plug and play replacement of the native Xamarin Forms CarouselView with the SfCarousel, but SfCarousel does not display.
Here's my XAML:

                               ItemHeight="70" ItemWidth="70"
                               VerticalOptions="StartAndExpand" HeightRequest="75">
               
                   
                       
                           
                           

                   

               

               
           

The only changes from using the native Xamarin control is adding ItemHeight, ItemWidth, and the SelectionChanged event.  When swiping the area where the Carousel should be, the SelectionChanged event fires, so the control is there, but not rendering the contents of ItemsSource.  I should add that I'm using Xamarin Forms 3.5 on Android.

Any help would be appreciated

Dhanasekar R [Syncfusion]
Replied On February 18, 2019 12:37 PM UTC

Hi John, 
 
Greetings from Syncfusion. 
 
We have created the SfCarousel sample in Xamarin.Forms and we have added the image using ItemTemplate for the carousel item. We have updated the Xamarin.Forms to latest version and we confirm that control gets rendered correctly. We have provided the sample for your reference. Please download it from the below link. 
 
 
Regards, 
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

;