Reputation: 520
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 task Pane.
When the context menu is openned, the sub menus are often displayed outside the task pane (see picture below). In such cases, the click event from the context Menu is not raised.
I have absolutly no idea how to make this work.
Any ideas?
Upvotes: 5
Views: 1069
Reputation: 5072
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.
Upvotes: 3