RecentDocumentMenu ContextMenu

Ribbon for WPF Forum

Posted 10 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 10 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 (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.