Click here to Skip to main content
15,886,061 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi...

I am using Double Animation to manage the width of a control in WPF, but after the duration of the animation finish I am unable to change the width of the control widthout using Double Animation and I want to change the width of the control of the control without using the Double Animation. How can I do this? Can anyone help me.

Thanks
Posted
Comments
Amir Mahfoozi 27-Mar-12 5:12am    
Please provide the code.

1 solution

In my experience, if the animation is still active even if it is not moving and elapsed, you have to call stop on the animation before you can change it in code.
 
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