What is the advantage of Properties Triggers over Data Triggers in WPF?

Trigger looks at properties in the item you're styling/templating, whereas DataTrigger looks at the current DataContext by default Example: Style TargetType="ListBoxItem.

Trigger looks at properties in the item you're styling/templating, whereas DataTrigger looks at the current DataContext by default. Example.

Since I can bind to the styled item properties using DataTrigger... – Andy Apr 28 '09 at 10:57 I highly suspect it's more efficient, too. – Kent Boogaart Apr 28 '09 at 10:58.

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