ElementName Binding from MenuItem in ContextMenu

I found a much simpler solution.

In the code behind for the UserControl:

NameScope.SetNameScope(contextMenu, NameScope.GetNameScope(this));

Leave a Comment