I have something like this:
barProgress.BeginAnimation(RangeBase.ValueProperty, new DoubleAnimation(
barProgress.Value, dNextProgressValue,
new Duration(T
In my case I had to use two commands, my xaml has a button which fires a trigger, and its trigger fires the storyboard animation.
I've put a button to stop animation with this code behind:
MyBeginStoryboard.Storyboard.Begin(this, true);
MyBeginStoryboard.Storyboard.Stop(this);
I don't like it but it really works here. Give it a try!