title: DataGrid + ContextMenu: How to get the row under the right click
body: <p>In Silverlight 5, I have a <code>DataGrid</code> with a <code>ContextMenuService.ContextMenu</code>. If you click a row to select, then right click, you just check the grid.selecteditem for context. However, if you right click a row without selecting it, you don't have that row's context when the menu opens. <strong>How do you get the <code>DataContext</code> row of the grid that was right clicked on when the context menu opens?</strong> The right click on the grid seems to be an option, but it is intercepted for the contextmenu and does not fire unless a contextmenu is already open/in focus.</p>
  
  <p>I have found tons of examples of getting around the original issue with Silverlight 4 and detecting the rown on right click. However, the contextmenu now intercepts the rigth click of the grid, so those no logner work. I also found posts on 'bugs' with the initial relase of the ContextMenu. All these posts/blogs are making it hard to find a current answer or solution.</p>