I know this answer is probably too late to help you, but perhaps it will help anyone who is looking for a fix for this problem.
Setting Focusable=false in MenuItems also works. It still allows them to click and allows focused controls. However, it disables the ability to navigate menus using the keyboard, presenting an accessibility problem.
The accessibility problem can be solved with a little creativity, however, if each menu item is a custom item. For example:
<MenuItem Focusable="False"> <MenuItem.Header> <StackPanel Orientation="Horizontal" Focusable="True" FocusVisualStyle="{x:Null}"> <TextBlock Text="Do something!" /> </StackPanel> </MenuItem.Header> </MenuItem>
The code FocusVisualStyle="{x:Null}" needed to hide the dotted focus that would otherwise appear (and looks out of place in the menu).
Jacob seene
source share