title: WPF DataGrid: How to Determine the Current Row Index?
body: <p>I am trying to implement a very simple spreadsheet functionality based on a DataGrid.</p>
  
  <ol>
  <li><p>The user clicks on a cell</p></li>
  <li><p>The user types a value and presses return</p></li>
  <li><p>The current row is scanned and any cell formula that depends on the clicked cell is updated.</p></li>
  </ol>
  
  <p>This seems to be the best event handler for my requirements:</p>
  
  <pre><code>private void my_dataGrid_CurrentCellChanged(object sender, EventArgs e)
  </code></pre>
  
  <p>Question: How do I detect the row index of the current row?</p>