I’ve got a WPF program containing a simple Menu.
When The keyboard focus is set into the menu, in Win32 I was able to jump to menu items by typing the first character of the MenuItem name.
In WPF menus this does not work anymore, unless I mark the first character of the menu item using an underscore.
Is this a bug or a feature?
This is supported in wpf also.It is done by adding an underscore in front of a character.
(The ampersand does not work in WPF!).Check the below sample
The underlined characters show up when you press the Alt key to access the menu. You can then navigate the menu by pressing the underlined characters