Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
355
How to change the Tooltip text for the "Minimize Ribbon" Menu item?
posted

Is there a way to set the Tooltip text for the "Minimize Ribbon" Menu item?

Parents
No Data
Reply
  • 71886
    Offline posted

    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.

Children