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

Rotator Doesnt work on UWP

Thread ID:

Created:

Updated:

Platform:

Replies:

128184 Jan 6,2017 01:36 PM UTC Jan 9,2017 04:50 AM UTC Xamarin.Forms 1
loading
Tags: SfRotator
Emil
Asked On January 6, 2017 01:36 PM UTC

Hi, 
I have simple code below. although it works fine on android, It doesnt display anything on uwp. I added a small testapp where you can reproduce the problem.

 public MainPage()
        {
            InitializeComponent();
            getRotator();
        }

        private void getRotator()
        {

            SfRotator rotator = new SfRotator()
            {
                NavigationStripMode = NavigationStripMode.Dots,
                NavigationDelay = 2000,
                NavigationDirection = NavigationDirection.Horizontal,
                NavigationStripPosition = NavigationStripPosition.Bottom,
                EnableAutoPlay = true,
                EnableLooping = true,
                EnableSwiping = true,
                Margin = new Thickness(30, 10),
                VerticalOptions = LayoutOptions.Start,
                HorizontalOptions = LayoutOptions.Start,
                HeightRequest = 300,
                WidthRequest = 300

            };

       
            var cachedImage = new Image()
            {
                HorizontalOptions = LayoutOptions.Center,
                VerticalOptions = LayoutOptions.Center,
                WidthRequest = 300,
                HeightRequest = 300,
              
                Source = "imgNotAvailable.png"

            };

            SfRotatorItem rotatorItem = new SfRotatorItem();

            rotatorItem.ItemContent = cachedImage;
            rotator.DataSource.Add(rotatorItem);
     
            this.Content = rotator;
       
        }


thanks,

Emil

Attachment: TestApp_193f2fea.7z

Rathana Kumar Sekar [Syncfusion]
Replied On January 9, 2017 04:50 AM UTC

Hi Emil, 

Thanks for contacting Syncfusion Support. 

Query:ItemContent API of SfRotatorItem in UWP.
We can add content through ItemContent API of SfRotatoritem(UWP).Currently we are facing some issue with ItemContent API. A support incident to track the status of the issue has been created under your account. Please log on to our support website to check for further updates.

 https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Regards,
Rathanakumar S
 


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.

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

;