In WPF, how to debug triggers?
In WPF, what are some good approaches to debug a trigger such as this? <Trigger Property="IsMouseOver" Value="True"> <Setter Property="FontWeight" Value="Bold"/> </Trigger> Ideally: If the trigger has been hit, I would like a message to be written to the Debug window within Visual Studio; If the trigger is hit, I want Visual Studio to hit a breakpoint in my C# code. Contango There is an excellent article on WPF Mentor by entitled How to debug triggers using Trigger-Tracing (cached version here ). I've used it innumerable times to debug into triggers, it's an amazing technique for anybody that