Out of curiosity, I'd like to know how the Blend
interaction (such as in the following example) functionality works behind the hood.
Interaction
some kind of attached property?Does anyone know of a tutorial or something that goes through an implementation of something like this? i.e how you would do this yourself with just the barebones wpf framework and no other frameworks
<TextBox>
<i:Interaction.Triggers>
<i:EventTrigger EventName="LostFocus">
...
</i:EventTrigger>
</i:Interaction.Triggers>
</TextBox>
Interaction
is the class, Triggers
the attached property, access is always like that for attached properties, they can be set on any control. I would recommend reading the documentation.