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
485
Hiding tooltips for ribbon tools
posted

Hi,

is there a way to completely hide tooltips for tools on the ribbon? The intention is to have no tooltip at all for a certain tool and not only the default (repeating) tooltip.

 

Best regards,

Michael

Parents
No Data
Reply
  • 485
    Verified Answer
    posted

    Ok, here the answer from support which worked fine for me:

     

    The only way to modify the tooltip for any tool in the UltraToolbarsManager is to use its SharedProps.ToolTipTextFormatted property, but the tools don’t implement Show or hide functionalities.

    There is property “ShowToolTips” for the UltraToolbarsManager, Groups, which we can use to hide the tooltips temporarily in BeforToolActivate event handler:

    private void ultraToolbarsManager1_BeforeToolActivate(object sender, Infragistics.Win.UltraWinToolbars.CancelableToolEventArgs e)

            {

                if (e.Tool.Key == "ButtonTool1")

                {

                    //this.ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Settings.ShowToolTips = Infragistics.Win.DefaultableBoolean.False;

                    ultraToolbarsManager1.ShowToolTips = false;

                }

            }

     

            private void ultraToolbarsManager1_AfterToolDeactivate(object sender, Infragistics.Win.UltraWinToolbars.ToolEventArgs e)

            {

                //this.ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Settings.ShowToolTips = Infragistics.Win.DefaultableBoolean.True;

                ultraToolbarsManager1.ShowToolTips = true;

            }


Children
No Data