I know that ContextMenu are not part of the visual tree, but I tried to bind the Visibility property of the ContextMenu property to the property in its parent UserControl . So far, I have tried to bind ancestors and experimented with the transformed, but the only way that seems remote at any time is to use the MultiValueConverter and reflection to pass type names and property names to UserControl . Even then, I'm not sure if this will work.
Am I going about it wrong?
source share