I have two questions regarding the windows form menu strip:
1. How to force the form to always show the helper keys? Currently the letter underlines are displayed only if the Alt key is pressed.
2. What is the command to cause a menu to drop down? Usually a menu drops down after the user clicks the menu button or navigates it with the keyboard, but I want to cause a menu to drop down by pressing an interface button and I can't figure out how to do it. I tried fiddling the DropDown property, but it didn't help.
With ToolStripMenuItem there are three properties you need to look at: ShortcutKeyDisplayString ShortcutKeys ShowShortcutKeys
The method you are looking for on ToolStripMenuItem is ShowDropDown(), executing this method will drop down the menu.
Example:
((ToolStripMenuItem)FileMenu.Items[0]).ShowDropDown();