I have a Window that contains two UserControls A and B, i want to freeze/lock A while clicking B, please is there any way to do that using Threads or anything else?
Asked
Active
Viewed 590 times
0
-
What do you mean by "freeze/lock A while clicking B" ? Do you want to disable UserControl A ? If so then, have you tried IsEnabled="False" for UserControl A ? – Nitesh Jul 26 '13 at 05:23
-
A contains some animations and threads, i want them to be locked/paused or frozen when i click B, yes i tried (IsEnabled="False") – John Kilar Jul 26 '13 at 05:28
-
Check if these link helps you: http://stackoverflow.com/questions/5391838/how-to-stop-wpf-storyboard-composed-only-in-xaml, http://stackoverflow.com/questions/8970698/stopping-an-animation-in-wpf-dynamic-loaded-usercontrol – Nitesh Jul 26 '13 at 05:50
-
I can"t find what i need, these links are for known keys of animations, i need something to stop them without knowing their key/name – John Kilar Jul 26 '13 at 15:53