<UserControl.Resources>
<Storyboard x:Key="keyfanStoryboard">
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)"
RepeatBehavior="Forever" DecelerationRatio="0"
AutoReverse="False">
<EasingDoubleKeyFrame KeyTime="0:0:3.10" Value="360"></EasingDoubleKeyFrame>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</UserControl.Resources>
private Storyboard board = null;
---
InitializeComponent();
board = (Storyboard)this.FindResource("keyfanStoryboard");
board.Begin(Animation);
---
board.Resume();
---
board.Pause();