April 6th, 2009, 11:43 AM
WPF: Controlling multiple storybords?
Iím trying to find the best way to control multiple storyboards presentation. I have a set of 10 storyboards that have to be played in sequence by clicking forward key on a keyboard. I can play them in forward sequence without problems with this line of code:
else if (clip_number == 1)
Storyboard myStoryboard = (Storyboard)TryFindResource("Storyboard_01");
My problem is that when I want the user to go back by clicking back key then the storyboards did not start from Zero time point. I believe that I need a code that will set storyboard to 0 and then play it.
Please let me know if you have any useful information on it.
I am highly appreciate any advice.
April 9th, 2009, 03:28 PM
Re: WPF: Controlling multiple storybords?
For your scenario I would check out the section titled "Remove an animation from an individual property" in this MSDN whitepaper:
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!