IgorStack
IgorStack

Reputation: 869

WPF MenuItem usability by mouse

WPF MenuItem is only selected when user hovers mouse exactly over the text of MenuItem.
If user clicks now then menu will be expanded, good:
enter image description here

This does not happen when mouse is not over the text.
If user clicks in this situation then nothing happens (you can see background of MenuItem is darkened, i.e. mouse is not over the element):
enter image description here

This is quite incovenient, uses complained, I even set bold font to increase area where user clicks succeed to open submenu.
Code is very simple:

<MenuItem x:Name="MainMenuItem" Header="Menu" ToolTipService.HasDropShadow="True" 
                  Foreground="{StaticResource BasicBritnessForeground}" FontWeight="Bold">

How to fix this?

Upvotes: 0

Views: 45

Answers (0)

Related Questions