I am dynamically added a bunch of buttons to a toolbar. I want the ability to programatically make it wrap onto a second row if the number of buttons exceeds the horizontal space in the current form. I dont want users to have to click the dropdown button to view more buttons as i need to ensure that all buttons are viewable always.
are there any suggestions for how to do this.
You need just four lines. First, disable docking:
Then turn off auto-sizing:
Now set the layout to ‘Flow’
Then then change the size to double the height of a normal ToolStrip, or whatever you want.