Datagrid - Obtaining the clicked row

Mar 3, 2009 at 5:16 PM


I'm using the WPF toolkit Datagrid with a context menu.. The point is: when I left click on top of a row the context menu appears (with a menu item) and I click on an option that allows me to edit all the data on a new Window...

I've been able to do everything except obtaining the clicked row in order to know wich data to ind to the form..

Is there a way to obtain it? ... The "e" parameter of the "menuitem" clicked doesn't provide access to the selected row?

Thanks in advance
Mar 4, 2009 at 11:02 AM
Colin Eberhardt has done a nice write-up that is probably helpful to you.