title: How to get DataGridRow cell value?
body: <p>I currently have this method set up to detect double clicks on each row in my DataGrid:</p>
  
  <pre><code>private void Row_DoubleClick(object sender, RoutedEventArgs e)
      {
          DataGridRow row = (DataGridRow)sender;
          DataRow dr = (DataRow)row.DataContext;
          string value = dr[0].ToString();
          MessageBox.Show(value);
      }
  </code></pre>
  
  <p>My problem though is I can't seem to get cell values. As you can see I tried to get the value of the first cell in the row but it would just crash. Any ideas how I can do this? :)</p>