title: How to determine if wpf datagrid cell is in edit mode?
body: <p>There are two scenarios:</p>
  
  <ol>
  <li><p>You select a row and press delete key to delete row.</p></li>
  <li><p>You select a cell and when its text is highlighted you press delete key to delete text.</p></li>
  </ol>
  
  <p>How do I distinguish between the two? in both cases I catch PreviewKeyPress and the Key is Delete Key, selected row is same. </p>