I've got a few DataTriggers in a Style. Most just change some style properties. I would like a new one to call a method.
<DataTrigger Binding="{Binding ValueChanged}" Value="True">
<Setter CallThis="MyFunction"> </Setter>
</DataTrigger>
</Style.Triggers>
</Style>
</ContentControl.Style>
</ContentControl>
So when ValueChanged is true, MyFunction should get called. Is there a proper way to accomplish this?