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
close icon

Rotator Doesnt work on UWP

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

1 Reply

RK Rathana Kumar Sekar Syncfusion Team 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
 


Loader.
Live Chat Icon For mobile
Up arrow icon