WPF DataTrigger cannot find Trigger Target?

While I'm not sure why the brush isn't in the namescope, you can do this by swapping out the brush, and "dotting-down" to the Color property of the background brush in the animations like so: ListBox. ItemTemplate.

While I'm not sure why the brush isn't in the namescope, you can do this by swapping out the brush, and "dotting-down" to the Color property of the background brush in the animations like so.

That worked - Thanks. BackgroundBrush is actually in scope for the StoryBoard trigger and works without modification. I just can't understand why it would be out of scope for the DataTrigger.

– Daniel Skinner Mar 3 '10 at 22:05 Yeah, I couldn't figure that out either. I think it might be that the Storyboard's TargetName is resolved at runtime, while the Setter's TargetName is resolved at XAML parse time. – Abe Heidebrecht Mar 4 '10 at 14:39.

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