Hey,
how can I detect when an animation is finished, using a timeline? I was thinking about the WhileXXXX tags, or perhaps the ux:ProgressChanged event, but Im not sure how to swing it.
<Page ux:Class="SplashScreen">
<StackPanel ux:Name="sp1" X="50%" Y="25%" Anchor="50%,50%" Width="200">
<AlfaPro ux:Name="alfaProIcon" />
<TextView ux:Name="tvWelcome" Value="Welcome to Test" Alignment="Center" Opacity="0" TextColor="#fff" />
<MyButton ux:Name="btnProceed" Text="123S" />
</StackPanel>
<Timeline ux:Name="timeline">
<Move Target="sp1" Y="-400" Duration="0" />
<Change Target="tvWelcome.Opacity" Delay="1.0">
<Keyframe Value="1" Time="0.5" />
<Keyframe Value="1" TimeDelta="1" />
<Keyframe Value="0" TimeDelta="0.5" />
<Keyframe Value="1" TimeDelta="1" />
<Keyframe Value="1" TimeDelta="1" />
<Keyframe Value="0" TimeDelta="0.5" />
</Change>
<Set tvWelcome.Value="Let's start!" Delay="3.0" />
<Move Target="sp1" Y="400" Duration="1" Delay="0.1" Easing="BounceOut" />
</Timeline>
<WhileActive>
<Change timeline.TargetProgress="1" />
</WhileActive >
</Page>