Skip to content

ContextMenu.SetCommandTarget method

Presets the command target snapshot the next Double}) resolves against. Use this for menus whose commands are bound to a standalone scope rather than the visual owner.

public void SetCommandTarget(CommandTarget target)