I have a ContextMenu in a TreeView
UserControl (DataContext=ViewModel) | | ---- TreeView (ItemSource=MyItems) | |
Another commonly used solution: