ContextMenu for Tabs

Docking/MDI for WPF Forum

Posted 1 year ago by Andrea
Version: 20.1.0

How can I override the ContextMenu on the tab headers? I want to have my own menuItems when a user right-clicks on the tab header. I've added the context menu to each of the elements, and it doesn't seem to make it available where I'd expect. 

            <docking:DockSite Name="m_scriptEditorDockSite" CanDocumentWindowsFloat="False"
                              CanDocumentWindowsDragToLinkedDockSites="False" KeyDown="OnKeyDown">
                    <docking:TabbedMdiHost AllowDrop="False">

Comments (2)

Posted 1 year ago by Actipro Software Support - Cleveland, OH, USA


Please see this documentation topic for information on customizing any built-in menu in the DockSite.  

Actipro Software Support

Posted 1 year ago by Andrea

Is it possible to keep the native menu but append my own custom items to it? Found it, sorry! `e.Menu.Items`

[Modified 1 year ago]

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.