Storyboards are Silverlight entities that are used for describing the animations of various dependency and attached properties. They consist of one or several animation entities each one of which is dedicated to animating just one dependency property. This section gives an overview of storyboard and animation functionality.
We are about to make this rectangle rotate by changing the dependency property, that is,
RotationAngle using a storyboard.
The storyboard can be created as the page's resource by adding the following XAML code above the
<Grid x:Name="LayoutRoot" …> line:
<Storyboard x:Key="RotationStoryboard" Storyboard.TargetName="TheSpinningControl" Storyboard.TargetProperty="(SpinningControlSample:SpinningControl.RotationAngle)"> ...