When using ShowMenuButton of UltraDockManager, I would like add more buttons to it. It is possible to modify the dropdown menu button items?
Thanks,
Hi,
I apologize for the delay in answering your request.
From what I've seen we cannot manipulate that menu structure directly but we can show our own instead. Handle the BeforePaneButtonClick event of the DockManager. If the button is the PaneButton.Menu then set e.Cancel = true and then show your own. Something like ultraPopupControlContainer.Show(new Point(mouse.x, mouse.y) <find the mouse position or use the position of the menu pane button to show it by the menu button. Set the UltraPopupControlContainer.Control property to a control to show... maybe a MenuStrip or something similar.