I need a context menu with items: Delete Row, Insert Row
I need to show these context menu items in different grids. However the behavior of these options is based on selected grid data source.
Is there any generic approach to fix this issue, without breaking the MVVM?
What I am doing is : Creating a custom context menu and exposing the dependency properties for each context menu item. So, that they can be binded individually in each grid.
Do we have any other approach to fix this?