title: c# code for select all checkbox in wpf datagrid
body: <p>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.</p>
  
  <p>Please help.</p>