Context Menu Customizing

Docking/MDI for WPF Forum

Posted 12 years ago by Matthias Mueller
Avatar
How can I customize the context menu ("Floating", "Dockable", etc.)?

-Matthias

Comments (3)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
There is a DockSite.WindowContextMenu that fires any time a context menu is displayed. It lets you completely customize the menu or even change to a custom ContextMenu class if you like.


Actipro Software Support

Posted 3 years ago by Hardgrafter83
Avatar

Hi, I see that this event is no longer available (16.1.635). Is there now a different approach to take to acheive this? 

[Modified 3 years ago]

Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

The older v2015.1 and earlier API had a DockSite.WindowContextMenu event, and it was changed to DockSite.MenuOpening in the major v2016.1 updates.  You can see details on all breaking changes for the 2016.1 version in the Docking/MDI's documentation under the "Converting to 2016.1" topic.


Actipro Software Support

The latest build of this product (v2019.1 build 0684) was released 16 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.