Hi,
Is it possible to disable the tooltiptext for some buttons in the ultraToolbarManager and to enable it for the other buttons. I want to disable the default tooltiptext for buttons having the DisplayStyle set to ToolDisplayStyle.TextOnlyAlways .
Regards.
Hello,
A possible approach to achieve this might be by hooking to the MouseEnterElement event and hide the tooltips:
private void ultraToolbarsManager1_MouseEnterElement(object sender, UIElementEventArgs e)
{
if (e.Element is ButtonToolUIElement && ((ButtonToolUIElement)e.Element).Tool.DisplayStyleResolved == ToolDisplayStyle.TextOnlyAlways)
((ButtonToolUIElement)e.Element).Tool.OwningRibbonGroup.Settings.ShowToolTips = DefaultableBoolean.False;
else if (e.Element is ButtonToolUIElement) ((ButtonToolUIElement)e.Element).Tool.OwningRibbonGroup.Settings.ShowToolTips = DefaultableBoolean.True;
}
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.