Hi,
Which it is the best way to do the clasical Tutorial Swipe slides (Top of the image below)…
With WhileEdgeSwipe?
I try something like this but dont work fine:
<Panel Alignment="Top" WidthUnit="Percent" Width="100" HeightUnit="Percent" Height="80">
<Panel ux:Name="Slide1" AnchorUnit="Percent" Anchor="50,50" WidthUnit="Percent" Width="100" HeightUnit="Percent" Height="100">
<WhileEdgeSwiped Edge="Right" VelocityThreshold="50" EdgeThreshold="50" >
<Change Target="Slide1.Anchor" Value="150,50" Duration="1" Easing="CubicInOut" />
<Change Target="Slide2.Anchor" Value="50,50" Duration="1" Easing="CubicInOut" />
</WhileEdgeSwiped>
<Rectangle WidthUnit="Percent" Width="100" HeightUnit="Percent" Height="100">
<SolidColor Color="#101010" />
</Rectangle>
</Panel>
<Panel ux:Name="Slide2" AnchorUnit="Percent" Anchor="-50,50" WidthUnit="Percent" Width="100" HeightUnit="Percent" Height="100">
<WhileEdgeSwiped Edge="Left" VelocityThreshold="50" EdgeThreshold="50" >
<Change Target="Slide1.Anchor" Value="50,50" Duration="1" Easing="CubicInOut" />
<Change Target="Slide2.Anchor" Value="-50,50" Duration="1" Easing="CubicInOut" />
</WhileEdgeSwiped>
<Rectangle WidthUnit="Percent" Width="100" HeightUnit="Percent" Height="100">
<SolidColor Color="#434532" />
</Rectangle>
</Panel>
</Panel>
Thanks!!!