Can I make a context menu for recent docs in the app menu?

Ribbon for WPF Forum

Posted 12 years ago by Craig - Varigence, Inc.
Version: 11.1.0545
Avatar
I have an application that is using the RecentDocumentMenu within the ribbon's ApplicationMenu. In the RecentDocumentMenu, I want to be able to right click on a document and display a context menu that lets me remove the IDocumentReference from the list.

What's the easiest way for me to add a context menu that will work for each IDocumentReference item? Is there a special ContextMenu property I can set, or do I need to re-template the menu items to use a custom ContextMenu?

Thanks,

-Craig

Comments (1)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Craig,

There's nothing built-in for that. I'd imagine that you could try to handle a bubbled ContextMenuOpening and look at the CommandParameter (which will be an IDocumentReference) of the button that was clicked.


Actipro Software Support

The latest build of this product (v24.1.1) 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.