Using the “Tag” Field And Triggers To Avoid Writing a Value Converter in WPF
I was working on a project recently and I wanted one of my layout controls to have a different margin based on a certain piece of data. (It’s a long story… let’s just say that this is a good post if you want to change properties of a control based on a piece of data…