<syncfusion:SfRotator x:Name="rotator" NavigationStripMode="Dots" NavigationStripPosition="Bottom" BackgroundColor="Silver" > <syncfusion:SfRotatorItem x:Name="ritem1" HorizontalOptions="Fill" VerticalOptions="Fill"> <syncfusion:SfRotatorItem.ItemContent> <Grid x:Name="LayoutGrid1" VerticalOptions="Fill" HorizontalOptions="Fill" RowSpacing="0" ColumnSpacing="0" BackgroundColor="Aqua"> <Grid.RowDefinitions> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Label Grid.Column="0" Grid.Row="0" Text="Test1" /> </Grid> </syncfusion:SfRotatorItem.ItemContent> </syncfusion:SfRotatorItem> <syncfusion:SfRotatorItem x:Name="ritem2" HorizontalOptions="Fill" VerticalOptions="Fill"> <syncfusion:SfRotatorItem.ItemContent> <Grid x:Name="LayoutGrid2" VerticalOptions="Fill" HorizontalOptions="Fill" RowSpacing="0" ColumnSpacing="0" BackgroundColor="Red"> <Grid.RowDefinitions> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Label Grid.Column="0" Grid.Row="0" Text="Test2" /> </Grid> </syncfusion:SfRotatorItem.ItemContent> </syncfusion:SfRotatorItem> </syncfusion:SfRotator>
<lib:SfRotator.DataSource> <lib:SfRotatorItem> <lib:SfRotatorItem.ItemContent> <!--Item1--!/> </lib:SfRotatorItem.ItemContent> </lib:SfRotatorItem> <lib:SfRotatorItem> <lib:SfRotatorItem.ItemContent> <!--Item2--!/> </lib:SfRotatorItem.ItemContent> </lib:SfRotatorItem> <lib:SfRotator.DataSource> |
Hi,
I tried the sample link project but just get blank rotator views after I built and ran it.
<syncfusion:SfRotatorItem.ItemContent> <Grid x:Name="LayoutGrid1" VerticalOptions="Fill" HorizontalOptions="Fill" RowSpacing="0" ColumnSpacing="0" BackgroundColor="Aqua"> <Grid.RowDefinitions> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Label Grid.Column="0" Grid.Row="0" Text="Test1" /> </Grid> </syncfusion:SfRotatorItem.ItemContent> </syncfusion:SfRotatorItem></syncfusion:SfRotator.DataSource>