.netwinformshotkeysunderlinemenustrip

Winforms MenuStrip Underlined Hotkey Letter


Typically the hotkey letters on a MenuStrip are underlined. (&File, &Open, etc) On a project I'm working on the underline shows up in the designer, but not at run time. I can't find the property that controls this. Anyone out there know?


Solution

  • In Windows, there is a setting whether or not to show the underline. To change the setting,

    1. Right click on the desktop
    2. Select "Properties"
    3. Click on the "Appearance" tab
    4. Click the "Effects" button
    5. Uncheck the box labeled "Hide underlined letters for keyboard navigation"