WPF: Synchronizing animations (part 1: Using built-in features)

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

Feedback

# re: WPF: Synchronizing animations (part 1: Using built-in features)

left by tomtung at 12/24/2010 10:23 AM Gravatar
Is there a part3 in this series? Really want to know how to sync animations elegantly

# re: WPF: Synchronizing animations (part 1: Using built-in features)

left by Mike at 7/4/2011 7:28 AM Gravatar
Thanks for this. Helped me resolve some issues with synchronizing animations in just xaml.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: