Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have several animations that work just fine because I set it in blend so they play when something is done (like when I click the button) but how to play any animation using code so I'll be able to use 'if' statements? Is there something special about it or needed for this to work? Thanks.
Posted

1 solution

use
C#
myStoryboard.Begin();

inside your button click event handlers
to start an animation
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900