I have a WPF application that has a ListView with a GridView in it. It has a ContextMenu when you right-click on the items in the grid. I was wondering how I can access the row that is selected from the ContextMenu and access that programatically. My goal is to delete that row of data. Thanks!
I have a WPF application that has a ListView with a GridView in it.
Share
This will work using WPF command bindings…
To create custom command bindings, see this SO post.