AreDocumentDropDownButtonsVisible in tabbedmdihost

Docking/MDI for WPF Forum

Posted 10 years ago by Mark Benda
Version: 9.1.0507
Avatar
Is it possible to alter the contents or change the Text in the dropdown list?

In my code I've created an 'Add new tab' document window that has a '+' as the title, and I'd rather not have that show up at all or change the name within the dropdown to 'Add New Tab'.

Thanks.

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Mark,

Sure if you handle the DockSite.WindowContextMenu event, you can modify the context menu that is displayed however you like. You can even remove the item for that tab if you wish. Note that the e.Window property will be null when the event is called for the active files list.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.