I dont really know WPF, but I am pretty sure it has an Animator class (something about a StoryBoard too). I am sure a Google will reveal more info :)
xacc.ide
The rule of three: "The first time you notice something that might repeat, don't generalize it. The second time the situation occurs, develop in a similar fashion -- possibly even copy/paste -- but don't generalize yet. On the third time, look to generalize the approach."