Question

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

Posted 3 years ago by Avatar Craig - Varigence, Inc.
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 3 years ago by Actipro Software Support - Cleveland, OH, USA
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
Information The latest build of this product (2014.2 build 0611) was released 4 days ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.