c# - Check whether any animation is playing or not -


i making windows store app in vs2012 c#.

now have 4 animation storyboard named "jump", "sit", "roll", "eat".

now have button click event , want check if of these 4 animation playing or not.

if no display message using messagebox.show() property. , if yes, stop current animation.

thanking in advance :)

you can check colackstate of storyboards , decide on basis of that.like this..

clockstate srt = strybrdselectedsubjectlistgoout.getcurrentstate();

if state storyboard stopped..show message..hope helps you..


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -