How would I check the status of a storyboard?
Example:
if (storyboard.Completed += true) // ???
{
}
(This code does not work, for obvious reasons.)
Just hook the Completed
event and when your code runs in there, the storyboard will have been completed. See: http://msdn.microsoft.com/en-us/library/system.windows.media.animation.timeline.completed(VS.95).aspx#Y565
how about creating a boolean variable (e.g. IsCompleted) and set it to true in the Completed callback?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With