Calling an object method in a data trigger

Calling a method on an instance of an object in WPF is not as easy to figure out, but with the help of this Internet thing I managed it. Say you have a DataTemplate that renders a WorkItemType as a button that is selectable: 1: <DataTemplate DataType=”{x:Type tfswitc:WorkItemType}”> 2: <DockPanel> 3: <Image DockPanel.Dock=”Left” 4: x:Name=”wiImage” […]

WPF Threading

I was having a problem getting multi threading working with the ObservableCollection, and struggled to find a solution. So I asked my friend Google and after a while it directed me to Kevin’s blog and specifically to his post on WPF Cross-Thread Collection Binding – Part 4 – The Grand Solution.   This is a […]