Is there a way to set the Tooltip text for the "Minimize Ribbon" Menu item?
Hello,
Please try the following code which uses UltraTooltipManager:
UltraToolTipInfo info = new UltraToolTipInfo(); private void ultraToolbarsManager1_MouseEnterElement(object sender, Infragistics.Win.UIElementEventArgs e) { if (e.Element is TextUIElement && e.Element.Parent is MinimizeRibbonUIElement) { info.ToolTipText = ((TextUIElement)e.Element).Text; ultraToolTipManager1.SetUltraToolTip(this, info); ultraToolTipManager1.ShowToolTip(this); } else ultraToolTipManager1.HideToolTip(); }
Please do not hesitate to contact us if you need any additional assistance.
This did not worked - it does not enter if (e.Element is TextUIElement && e.Element.Parent is MinimizeRibbonUIElement) condition.
It looks like it is barried deeper: (e.Element.Parent.Parent as ToolbarUIElement).ChildElements[0] as ButtonToolUIElement)).Tool.
Still no idea how to get MinimizeRibbonUIElement...