One of the most exciting features of WPF is the animation system, which provides the UI developer with the possibility to create exciting effects easily. A previous article explains various ways to define and trigger animations using XAML or code-behind.
However, the animations in WPF are asynchronous by nature, which means that when multiple animations are triggered independently, they will run without coordination, which may give the application an unfinished look. In a serie of articles, I will consider what posibilities we have to synchronize animations in WPF, so that they run in a coordinated manner.
The first article published today shows what built-in ways can be used to coordinate animations, using the BeginTime and Duration properties, and/or using events in the code behind. The next article in this serie will show how to synchronize animations in a single thread using a controller. Finally, we will see how to synchronize animations across threads.
Print | posted on Thursday, June 07, 2007 9:16 AM