Storyboard Animation
Posted: 10 Jun 2014, 21:00
Is there a way to reset the storyboard to the beginning upon completion? I don't want it to reverse the animation back just simply set it back to where it was at the beginning instantly.
Welcome to our official discussion site. You’ll find topics on features, bugs, development, and general support here
https://www.noesisengine.com/forums/
<EventTrigger RoutedEvent="Button.Click" SourceName="buttonBegin">
<BeginStoryboard Name="animSB" Storyboard="{StaticResource anim}"/>
</EventTrigger>animStoryboard.Begin(targetElement, targetElement, true);<EventTrigger RoutedEvent="Button.Click" SourceName="buttonStop">
<StopStoryboard BeginStoryboardName="animSB" />
</EventTrigger>animStoryboard.Stop(targetElement);