The process of writing a common animation, such as changing
colors, transforming, etc., is really easy. You can start an animation when a
specific event occurs. To do this you can simply use a trigger which runs the
animation when a specific RoutedEvent occurs. XAML uses Storyboard elements to
create an animation. Each Storyboard consists of one of the different
animation type elements.
One of the most important aspects of animations is timing.
It means developers should calculate the time that an animation moves from one
state to another and the entire time that an animation takes. This is not an
easy task to accomplish in the current graphic user interfaces. However, Windows
Presentation Foundation solves this and makes it easy for developers so you
should not worry about it at all.