In my current application, I have this little animation. It does a full 360 degree rotation of the canvas and works great.
<DoubleAnimation
Storyboard.TargetName="WaitCanvas"
Storyboard.TargetProperty="(Canvas.RenderTransform).(TransformGroup.Children)[0]
.(RotateTransform.Angle)"
From="0" To="360" Duration="0:0:2"
AutoReverse="False" RepeatBehavior="Forever" />
But what I want to do is not smooth animation, but animation - 22.5 degrees each. How can I do that?
source
share