Hi,
I am using Infragistics v17.1. I have an issue with the ribbon of the UltraToolbarManager.
There are cross icon displayed instead of tools captions when the size of the screen is not enough to display all the tools captions. I have icon on my tools, but i don't want to display them, i only want them to be displayed when the cross icons appears.
I would like to know if there is a way to do this (event triggered when the size is not enough, property that indicate that the tool icon is displayed instead of caption, ...)
Regards.
Mario.
Hello Mario,
Unfortunately, the UltraToolbarsManager does not have a RibbonToolSize value for the PreferredSizeOnRibbon property that only displays the tool text when an image has been applied to it's Appearance. However, this behavior can be achieved using a DrawFilter that draws it's own custom image whenever it locates the UIElement for the tool's image. I have attached a simple sample that demonstrates how to achieve this desired behavior. It retrieves the image for the tool from an ImageList using the Tool's Key.
Let me know if you have any questions.
Chris
It works perfectly with your sample, thanks.