title: WPF access DataGrid row element
body: <p>I've a got strange situation.  I've got a datagrid, and in one of the columns is a datepicker and checkbox.  The checkbox if selected will disable the datepicker.</p>
  
  <pre><code>*****************************
    *            |          *
    * DatePicker | Checkbox *
    *            |          *
  *****************************
  </code></pre>
  
  <p>I've had a stab at this, and a poke around but can't seem to find where I'd access the datepicker row object to disable it.  ItemArray seems to enumerate the column values fine, but I need direct access so I can set IsEnabled</p>
  
  <p>object selected = the_datagrid.SelectedItem;</p>