I have been trying to use System.Windows.Interactivity.Interaction with WPF from MS Expression Blend SDK for .NET 4. The problem is that I can't find the Interaction.Triggers attached property there. The Interaction class exists, but I can see only 4 members in it: Equals, GetBehaviors, GetTriggers, ReferenceEquals. I looked at the properties of the reference to System.Windows.Interactivity.dll in my project and found that the path is
"C:\Program Files (x86)\Microsoft SDKs\Expression\Blend.NETFramework\v4.0\Libraries\System.Windows.Interactivity.dll"
So, I opened the file on that path with IL Disassеmbler and found that the Interaction class actually has the Triggers attached property, but the property is declared as private! Then I opened the same dll in \Lib\Desktop directory of Prism SDK and found the same situation there. The versions of these dlls are 2.0.20525.0. There is also a System.Windows.Interactivity.xml file with the System.Windows.Interactivity dlls. In it I found following about TriggersProperty:
This property is not exposed publicly. This forces clients to use the GetTriggers and SetTriggers methods to access the collection, ensuring the collection exists and is set before it is used.
But I didn't find any SetTriggers methods there. BTW, Silverlight's Interaction has TriggersProperty as a public member.
I have seen many examples using Interaction.Triggers with WPF and I assume there shouldn't be any problems. What am I doing wrong?