Is it possible to put a menu on the title bar like many modern applications do? See Visual Studio 2019 or Firefox for examples.
Thank you for posting on our forums.
Do you mean dropdown menus which are on top? If so, please have a look at our documentation regarding working with menus, where you can see visual representation of few PopupMenuTools:
Should you have any further questions, please let me know.
Sincerely,Tihomir TonevAssociate Software DeveloperInfragistics
Hi Tihomir,No, I mean something like what FireFox or Visual Studio looks like:
Yes, you can have more than one toolbar, and you can add all the functionalities that a browser comes with. For instance, you can add a PopUpMenuTool and set its image to be a hambuerger-menu, set the display style to image only and you will have an options button.
Please check our documentation for all the tool types you can add to the toolbar here:
In case you have downloaded our samples browser, you can check the ToolbarsManagerDemo where a menu alike Microsoft Word has already been created.
Yes, I already know this. I had a more specific question. Can I have a menu on a form's title bar like FireFox and Visual Studio?
The windows form titlebar is actually not part of the UltraToolbarManager, it is the default one, so if you would like to modify this part only, it would be best to check on Microsoft's forums, as there would be wider audience helping you find the best solution.
However, I can offer a couple of ways to do what you are looking for using UltraToolbarManager.
The first one would be to hide the forms titlebar. This way the first toolbar will be the topmost, however you will need to add min/max/close form buttons at the right side of it. Here is a solution how to align buttons right sided on the toolbar:
The second option is to use the ribbon's QAT(Quick Access Toolbar) positioned on top of the ribbon, making it appear inside the titlebar. You can check how it looks as well as some additional information on our website here: