WPF User Control and Context Menus

Add-in Express™ Support Service
That's what is more important than anything else

WPF User Control and Context Menus
 
Peter Lechner




Posts: 17
Joined: 2012-05-21
Hello Add-In Express Team,

I have an Excel taskpane with an element host containing a wpf user control. On right-click a context menu is opened. The problem now is that the contxt menu doesn't close if the user clicks beside the menu...it just stays open. I have found this post and tried the workaround which seems to work.

My question now is, if there is already a solution (or another workaround) to this problem because I don't want the Excel main window to lose activity.

Thanks, Peter
Posted 06 Sep, 2013 06:49:42 Top
Andrei Smolin


Add-in Express team


Posts: 14106
Joined: 2006-05-11
Hello Peter,

No solution exists. And that workaround is the only workaround existing.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 06 Sep, 2013 08:01:00 Top