Deklarativní animace
*Popisují animačnímu systému průběh
*Např. změň šířku (Width) z 10 na 100 během 10 sekund
*Zbytek proveden automaticky
*Bez nutnosti nastavit časovače
*Bez nutnosti vlastního vykreslování
l<DoubleAnimation From="10" To="100"
l                 Duration="0:0:10"
l    Storyboard.TargetName="myellipse"
l    Storyboard.TargetProperty="(Ellipse.Width)" />
Parametry animace
Typ animace
Cíl animace
Animovaná vlastnost
Code is usually not required to animate the UI – WPF supports declarative animation. You can also animate from code as well if you like, but even there, it’s a usually a matter of telling the animation system what you’d like it to do for you, and letting it get on with it. The system will take care of regularly updating the display to keep the animation running.