WPF Error: Cannot find governing FrameworkElement for target element
问题 I\'ve got a datagrid with a Row that has an image. This image is bound with a trigger to a certain state. When the state changes I want to change the image. The Template itself is set on the HeaderStyle of a DataGridTemplateColumn. This template has some bindings. The first binding Day shows what day it is and the State changes the image with a trigger. These properties are set in a ViewModel. Properties: public class HeaderItem { public string Day { get; set; } public ValidationStatus State