Hi,
I am facing a problem in synchronising the FlipView with the Page Indicator,this is my code:
Code
Code
x:Name="flipView1">Code
Code
>Code
Background="Transparent">Code
Code
Width="*" />Code
Code
Code
Height="*" />Code
Code
Grid.Column="0" Grid.Row="0">Code
Source="{Binding Image}"/>Code
Code
Code
Code
ItemsSource="{Binding ItemsSource, ElementName=flipView1}">Code
Code
Code
Orientation="Horizontal" />Code
Code
Code
Code
Style="{StaticResource TextBlockButtonStyle}" CommandParameter="{Binding}"Code
Command="{Binding DataContext.SelectCommand, ElementName=grid, Mode=OneWay}">Code
Height="30" Width="30" Margin="10,10"> Fill="#2c3389" RenderTransformOrigin="0.5,0.5" >Code
Code
Code
ScaleX="1.25" ScaleY="1.25"/>Code
Code
Code
Fill="Gray" Stroke="#2c3389" />Code
Code
and this is how I get the ItemSource to the FlipView in the code behind:Code
var tests = new ListSampleItem>() { test1,test2 };Code
flipView1.ItemsSource = tests; }Code
I can move from one page to another,but the page indicator doesn't work
any help please,how can I bound Both the FlipView and the ItemsControl to same collection
thanks for help
Answers
Know the answer? Post it. Somebody with the same question will find it here.