Hello,
I have a main menu, with all those things like "File", "Tools"... created dinamically, using UltraWinToolbars.PopupControlContainerTools
I want to put an image next to the text, so I have those two things, text+image. If I put the property "ImageAndText" to a button, for exemple, I can create that button with the image and the text, but I can't do it on the menu. Maybe that's because, in the description of this property, it says "This setting is ignored when the item is on a top-level menu."
I can put an image with ImageOnlyOnToolbars, and a text with TextOnlyAlways, for example, but I can't put both things in the menu. Is there any way of doing it? Thanks a lot.
I am checking about the progress of this issue. Please let me know If you need any further assistance on
this.
Thank you for the details.
You could achieve that through 'AppStylist'. Please navigate to the ribbon tab when you have created a new file, navigate to the file menu button and press "1" on your keyboard. In the properties pane of the role below, please select an image.
You could then save your isl file and load it in the application through:StyleManager.Load("filepath");
Another approach would be through a code like the following:
this.ultraToolbarsManager1.Ribbon.FileMenuButtonAppearance.Image = ...;
Please let me know if you have any other questions.
Yep, you misunderstood me :P
Or maybe I didn't explain the situation well(I'm sure it's that).
What I want is not to put the image with one of the inner buttons of the menu, I want to put it in the main button itself, the upper one. Exactly what you did, but in the button that opens the menu.
Is that possible? Thanks :)
Hello Xe,
Could you please review the sample attached to this post and see if it meets your requirements. Please feel free to let me know if I misunderstood you or if you have any other questions.