This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I tried this code to animate the zoom of the diagram. It works well but after its done i can't zoom-in/zoom-out at all. Can you please help me understand why?
|
|
|
Hi Gilad, I've never come across this before. It turns out that Storyboards hold the properties that they animate, and don't let anything else set the properties, even when finished. Here is more information about it: https://msdn.microsoft.com/en-us/library/aa970493(v=vs.110).aspx I've tried some of the suggestions in that documentation, but they seem to cause the Zoom property to snap back to what it was before the Storyboard started animating. To counteract this, you could set the Zoom to the end value of the animation, after releasing the storyboard from the property. Personally I stay away from Storyboards, and animate things using my own code. I think Storyboard is designed to be used in xaml more than code. -Jason Fauchelle |
|