VSTO WPF ContextMenu.MenuItem Click outside a TaskPane not raised

后端 未结 1 1568
春和景丽
春和景丽 2021-01-13 11:02

The Click Event form a Context Menu Item is not raised when the cursor is outside the taskpane. I have no idea how get it working. 90% of the time, the click is outside the

相关标签:
1条回答
  • 2021-01-13 11:46

    The Custom Task Pane has focus problems with WPF Context Menus. Look here.

    I have the same problems. Actually I use one of the recommended workarounds (Dispatcher Frame). Is is working, but I am not very happy with this clumsy solution.

    0 讨论(0)
提交回复
热议问题