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 padding

Thread ID:





131490 Jul 12,2017 02:02 PM UTC Jul 14,2017 01:08 PM UTC Xamarin.Forms 3
Tags: SfRotator
Gyori Balazs
Asked On July 12, 2017 02:17 PM UTC

Hi,I put an sfrotator into a stacklayout. I added two pictures into it. It works fine. I have only problem how it looks like. There seems to be a padding for the sfrotator, because my pictures does not fill the sfrotator. I added an aqua background color for the sfrotator as you can see on the attached picture. So it seems to be fine, occupying the full width of the screen and also the 200 height what I set. But the ItemContent inside what is a picture does no fill the available space in sfrotator.The xaml snippet of the page: rotator:SfRotator x:Name="rotator" HeightRequest="200" HorizontalOptions="FillAndExpand" BackgroundColor="Aqua"The code for adding the items in my cs:List collectionOfItems = new List(); collectionOfItems.Add(new SfRotatorItem() { ItemContent = new Image() {Source = "Assets/pin_details_offline_bgr.jpg", Aspect = Aspect.AspectFill, HorizontalOptions = LayoutOptions.FillAndExpand } });collectionOfItems.Add(new SfRotatorItem() { ItemContent = new Image() { Source = "http://www.badacsony.com/images/abrahamhegy-image.jpg" , Aspect = Aspect.AspectFill } });           rotator.DataSource = collectionOfItems;How can I hide this padding from sfrotator?Picture:https://drive.google.com/open?id=0By2pZ2n1CiqmOXA0c29QM3VnOEEThis problem is only on UWP.On my android phone it is OK.

Rathana Kumar Sekar [Syncfusion]
Replied On July 13, 2017 12:11 PM UTC

Hi Gyori Balazs,

Thanks for contacting Syncfusion Support.

We have checked the reported issue "Issue with SfRotator padding in UWP" from our side and in our current implementation default margin value 5 has been setted to native UWP SfRotator. Now we have modified the sample and set the native UWP SfRotator margin size as zero in UWP project MainPage XAML to solve the reported issue. Please find the sample from the below link.

Sample: http://www.syncfusion.com/downloads/support/forum/131490/ze/RotatorTesting757674900 

Please let us know if you have any other query.

Rathanakumar S. 

Gyori Balazs
Replied On July 13, 2017 01:22 PM UTC


Thanks for the quick response! I tried it and now it shows without margin! Thank you very much!

Since yesterday I also realized that NavigationDelay has no effect on android. It works on uwp, but on android it always remains 2 sec.

I set NavigationDelay="5000" in MainPage.xaml. This is what I added to rotator:

EnableSwiping="true" NavigationDelay="5000" EnableAutoPlay="True" EnableLooping="True"

I tested it with your RotatorTesting project. Can you check if this is bug or I make a mistake?



Rathana Kumar Sekar [Syncfusion]
Replied On July 14, 2017 01:08 PM UTC

Hi Gyori Balazs,

Thanks for your update.

We could reproduce the reported issue "Issue with SfRotator Navigation delay in Android" from our side. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.


Rathanakumar S. 


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

or the page will be automatically redirected to 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