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 doesn't work inside a <StackLayout>

Thread ID:

Created:

Updated:

Platform:

Replies:

130795 Jun 2,2017 11:37 PM UTC Jun 5,2017 11:07 AM UTC Xamarin.Forms 1
loading
Tags: SfRotator
Luis Alfredo Stockler Filho
Asked On June 2, 2017 11:37 PM UTC

Insida a <Grid> or <ContentPage.Content> it works pefectly. But insite a <SlackLayout> it shows a black page.

<Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <rotator:SfRotator x:Name="rotator"  
                               Grid.Row="0"
                               Grid.Column="0"
                               NavigationDelay="2000" 
                               ItemsSource="{Binding ImageCollection}" 
                               SelectedIndex="2" NavigationDirection="Horizontal" 
                               NavigationStripMode="Dots" BackgroundColor="#ececec" 
                               NavigationStripPosition="Bottom">
                <rotator:SfRotator.ItemTemplate>
                    <DataTemplate>
                        <Image  Source="{Binding Image}"/>
                    </DataTemplate>
                </rotator:SfRotator.ItemTemplate>
            </rotator:SfRotator>
        </Grid>

With that it doesn't work:

    <StackLayout>
            <rotator:SfRotator x:Name="rotator"  
                               NavigationDelay="2000" 
                               ItemsSource="{Binding ImageCollection}" 
                               SelectedIndex="2" NavigationDirection="Horizontal" 
                               NavigationStripMode="Dots" BackgroundColor="#ececec" 
                               NavigationStripPosition="Bottom">
                <rotator:SfRotator.ItemTemplate>
                    <DataTemplate>
                        <Image  Source="{Binding Image}"/>
                    </DataTemplate>
                </rotator:SfRotator.ItemTemplate>
            </rotator:SfRotator>

    </StackLayout>




Rathana Kumar Sekar [Syncfusion]
Replied On June 5, 2017 11:07 AM UTC

Hi Luis Alfredo Stockler Filho, 

We were able to reproduce the reported issue "Empty view with Rotator control inside the StackLayout " and have already logged defect report regarding this. 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.

Support Website Link:
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

;