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.
Unfortunately, activation email could not send to your email. Please try again.

Rotator Doesnt work on UWP

Thread ID:

Created:

Updated:

Platform:

Replies:

128184 Jan 6,2017 08:36 AM Jan 8,2017 11:50 PM Xamarin.Forms 1
loading
Tags: SfRotator
Emil
Asked On January 6, 2017 08:36 AM

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 8, 2017 11:50 PM

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.

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.

;