How can I display MainMenu items in the ToolBar like Chart window does?
Notice the Menu and ToolBar controls are both added and available in the custom add-on window and Chart window visual tree. The problem is the items in the MainMenu collection are bound to the Menu control in custom add-on window, but I want them bound and displayed in the ToolBar control like Chart window does.
Ordinarily I would do this:
But this.FindFirst("PART_Menu") always returns null. How can I get a reference to the Menu control so I can hide it?

Comment