I'm facing the same problem. I somehow managed to get it selected in the similar way and opened the contextmenu like TreeViewItem.ContextMenu.IsOpen=true; but the problem that occurred was, the commands bindings to the menu items(in xaml) don't work. :confused:
A
asit4u11
@asit4u11