WPF Animation “Cannot freeze this Storyboard timeline tree for use across threads”?

It sounds like you have some kind of Binding in the Storyboard definition.

It sounds like you have some kind of Binding in the Storyboard definition. Ok so, as I suspected, it's because you're using a Binding in your Storyboard. You can't do this because WPF attempts to freeze all the resources leveraged by a template for efficiency and when you use a Binding on a Freezable, in this case the Storyboard, it prevents it from being able to be frozen.

I added the storyboard code. I do bind the 'To' property since I don't want to hardcode the width. – jwarzech Nov 3 '09 at 20:43 That's your problem then, I will explain.

– Drew Marsh Nov 3 '09 at 20:47 Thanks for the explanation! Any suggestion on how I can achieve this storyboard (with binding) without having to connect the datatrigger to the control? – jwarzech Nov 3 '09 at 21:26 Ehhh, based on what I can guess you're trying to do with the animation how about instead of setting a Width on the the ListBox you set it's HorizontalAlignment to Stretch and then give it a Margin and this storyboard animates the Margin to 0 instead of the Width to the ActualWidth of the UserControl?

– Drew Marsh Nov 3 '09 at 22:33.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions