I need a checkbox column that has a checkbox control in the header that will mimic what the GridViewSelectColum does. I cannot use the GridViewSelectColumn because I'm not looking to select all rows - I just want to check all rows - like mark all as read functionality. To achieve this I simply put a CheckBox control in the header of my bool column and set the binding to a property in my VM called CheckAll.
<CheckBox IsChecked="{Binding CheckAll, diagnostics:PresentationTraceSources.TraceLevel=High}"></CheckBox>
The setter on my property is not being called and when I added the diagnostics the binding does not show up. However, when I move the checkbox outside of the grid it works fine - so I'm thinking the reference is lost?
Thanks,
Greg