Hello,
I have recently switched to WPF from WinForms so please excuse my noobness.
I have a grid is being populated by an Observable Collection. I have menu buttons that are supposed to add and remove entries from the collection. Adding the rows was easier, now i'm having trouble trying to remove an entry.
First, the User will select the row, then click the delete button. I am trying to determine which row they have selected in the datagrid. I have been trying code such as Grid.CurrentCell.ToString() or Grid.DisplayMemberValue.ToString() but I cannot seem to get the current cell value. It returns a blank value or a generic name for the row. Even if I could determine the index, I could build it from that.
Thank you,