WPF Animation: Detect if any animation is in process?
Why not use the storyboard's completed event? You will have to either use an event or a different thread, or you will block the UI thread with your while statement and no animations will play.
Why not use the storyboard's completed event? You will have to either use an event or a different thread, or you will block the UI thread with your while statement and no animations will play.