Is there a way to set the Tooltip text for the "Minimize Ribbon" Menu item?
Hello,
It looks like we have been in some sort of misunderstanding here, please switch the condition with the following one:
if (e.Element is Infragistics.Win.ImageAndTextUIElement.ImageAndTextDependentTextUIElement && e.Element.Parent.Parent is ButtonToolUIElement)
and use the following code in order to remove the default tooltip:
this.ultraToolbarsManager1.Ribbon.TabItemToolbar.Settings.ShowToolTips = Infragistics.Win.DefaultableBoolean.False;
Please feel free to let me know if I misunderstood you or if you have any other questions.
This sample does not work. Not sure if it matters, but I am running Windows 7 Service pack1.
It looks like "Minimize ribbon button" in Office 2010 style does not have TextUIElement attached to it.
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.
Your sample works because you have Style set to Default.
We are using Style "Office2010" and Office2007UICompatibility is set to False. When style is "Office 2010" there is no drop down menu and the code does not work.
Could you please review the sample attached to this post and see if it meets your requirements.