I am creating a simple form using MenuStrip. MenuStrip LayoutStyle set to HorizontalStackWithOverflow (default).
According to the MSDN link to MenuStrip, its LayoutStyle is inherited from ToolStrip. One possible value for LayoutStyle is HorizontalStackWithOverflow , which is also the default setting. This parameter should provide elements with the Overflow property set to AsNeeded to move to the overflow button.
When I launch the application and resize the form so that the menu does not completely fit, this does not happen. I set the Overflow ToolStripMenuItems property to AsNeeded, but when I resize the form, the menu items on the right disappear.
Incorrect documentation, and you can only get the overflow of the ToolStrip button, and not in the MenuStrip? Or is there something else I have to do to make everything work? Or am I just reading the documentation wrong?
source share