WPF Reflections

Aug 5 2008   7:28AM GMT

WPF Animation – To property



Posted by: MarkWPF
Animation, Databinding, WPF, XAML

In WPF animations, the To property is an important one.
It tells the animation where to stop.

Quite bizarrely, in my opinion, it can be left out.
When it is, the animation will use the value specified in the definition of the element.
In doing so, it will ignore any changes to that property.

In this example, we specify a To value in the animation to make the circle slowly become more and more transparent:

blog5aug.GIF

Comment on this Post

Leave a comment: