Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Configuring the toolbar drop-down that automatically appears when there's not enough space
posted

Hi, I have some code (not my own) that has a WinForm with an UltraToolBarsManager. The toolbar has buttons dynamically added to it, and if more butttons get added than can fit, a drop-down arrow appears at the end of the toolbar which shows the buttons that didn't fit. As far as I can see this happens automatically. The buttons that do fit on the toolbar are shown with large icons and text (as explicitly set in the code), but the buttons that don't fit are shown with small icons alone. Is there any way to get the buttons that don't fit to show in the drop-down with text as well? Thanks!

Parents
No Data
Reply
  • 375
    Verified Answer
    Offline posted

    Hi Giles Smith,

    The buttons in the toolbar are actually tools as the toolbar is "tool container". Each tool has a DisplayStyle property which determines whether the tool is displayed with an image and/or text. The Default setting of this property is different for different tools and depends on if the tool is in menu or on the toolbar. If you want to have an image and text shown for all the tools, just set DisplayStyle.ImageAndText for each one of them.

    Please feel free to let me know if this works for you or if you have any other questions.

Children