开发者

Have buttons overflow onto a second toolbar

开发者 https://www.devze.com 2023-01-17 02:28 出处:网络
I\'m looking to have a Windows Forms toolbar overflow its buttons onto a second tool开发者_如何学Pythonbar another level down rather than having the dropdown menu.We find that it is not obvious to our

I'm looking to have a Windows Forms toolbar overflow its buttons onto a second tool开发者_如何学Pythonbar another level down rather than having the dropdown menu. We find that it is not obvious to our users that they need to click the dropdown to see more tools. Suggestions?


Break your toolbar up into several smaller toolbars, like how MS Office does it. This way you can arrange them on as many rows as you like.


If breaking this into multiple toolbars will not provide the user experience that you want (although it is clearly the best practice), I believe you can listen to the Resize event, and then move all items from the Items collection that have IsOnOverflow set to true to a second tool strip.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号