I need some c# code to select / deselect all checkboxes in a datagrid in WPF 3.5 framework.
I would like to do this by clicking a single header checkbox in the grid.
I would use the new databinding features in WPF. Give all of the checkboxes a one-way binding on their IsChecked property with the binding source being the master checkbox's IsChecked property.