I have a treeview with an attached context menu. The context menu items have commands which are pointing to the view model, like so (shortened version):
Now what I'd like to do is set the current treeview item to IsInEditMode=true - basically like pressing F2, but raised by the context menu item click, and in a MVVM context.
I can set my property from MVVM, but how to bind/reference the clicked tree view item?
I suppose I should pass a command parameter but I just can't figure it out.
Your help much appreciated - thx.