How to select File Menu Items using Keyboard in WPF and C#?
-
Hi, I am developing a WPF UI application . I have a menu on top of the screen, which has File, Help menuitems. In file -> Backend features (shortcut key is ctrl + B), Exit (Ctrl + x) sub menu items. when clicked on any sub menu item, the corresponding window opens. So, with out using mouse, by pressing ctrl + B or Ctrl + x, how can the window be opened?? Also, how can I display a small line below the "F" in the File so that when user presses Alt + F, the File menu should be visible. I am working on WPF using C#. Please guide me. Thanks Ramm
-
Hi, I am developing a WPF UI application . I have a menu on top of the screen, which has File, Help menuitems. In file -> Backend features (shortcut key is ctrl + B), Exit (Ctrl + x) sub menu items. when clicked on any sub menu item, the corresponding window opens. So, with out using mouse, by pressing ctrl + B or Ctrl + x, how can the window be opened?? Also, how can I display a small line below the "F" in the File so that when user presses Alt + F, the File menu should be visible. I am working on WPF using C#. Please guide me. Thanks Ramm
I would just handle the key press event, I'm not sure how to do shortcuts in WPF on the menu, if autocomplete and MSDN doesn't tell you, just handle the keypress directly
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Hi, I am developing a WPF UI application . I have a menu on top of the screen, which has File, Help menuitems. In file -> Backend features (shortcut key is ctrl + B), Exit (Ctrl + x) sub menu items. when clicked on any sub menu item, the corresponding window opens. So, with out using mouse, by pressing ctrl + B or Ctrl + x, how can the window be opened?? Also, how can I display a small line below the "F" in the File so that when user presses Alt + F, the File menu should be visible. I am working on WPF using C#. Please guide me. Thanks Ramm