RecentDocumentMenu ContextMenu

Ribbon for WPF Forum

Posted 5 years ago by Paul Wilde - Senior Developer, Exponential Limited
Version: 13.1.0580
Avatar

Hi,

I'm trying to determine which recent document item was highlighted when the RecentDocumentMenu control's context menu is shown, so I can add context menu functionality similar to Office. I'd hoped maybe there would be something in the event args, or possibly the DataContext of the RecentDocumentMenu or the ContextMenu, but I can't see anything. What am I missing?

Thanks,

Paul

Comments (1)

Answer - Posted 5 years ago by Paul Wilde - Senior Developer, Exponential Limited
Avatar

Never mind, I found it - it was in the e.OriginalSource.DataContext in the ContextMenuOpening event for anyone else looking.

The latest build of this product (v2018.1 build 0675) 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.