Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4625296
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:15:06+00:00 2026-05-22T03:15:06+00:00

I have a ComboBoxTool on an UltraToolbarsManager implementing a ribbon control. No matter what

  • 0

I have a ComboBoxTool on an UltraToolbarsManager implementing a ribbon control. No matter what I set the ToolTipText to it always displays a tooltip:

enter image description here

[e.g. mousing over the gdg combo show this]

I have tried setting all the other tooltip related attributes (ToolTipTextFormatted, ToolTipTitle) to null but this doesn’t help.

  • If a non-zero length tooltip text is specified then this shows as expected
  • The ribbon child controls are all added programatically
  • The other controls on the ribbon do not have this issue

I have also tried setting-up a very simple ribbon on a dummy project and that does not exhibit this strange behaviour. So it is something else that is effecting this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T03:15:07+00:00Added an answer on May 22, 2026 at 3:15 am

    Infragistics supplied an answer:

    1. Add your own CreationFilter to the ToolbarsManager

      ultraToolbarsManager1.CreationFilter = new MyCreation();

    2. Catch the tool creation and replace the tooltip with your own implementation

      public class MyCreation : IUIElementCreationFilter  {
      
          private readonly int max;
      
          public MyCreation()
          {
          }
      
          public MyCreation(int toolTipMaxWidth)
          {
              max = toolTipMaxWidth;
          }
      
          public void AfterCreateChildElements(UIElement parent)
          {
              parent.ToolTipItem = new MyToolTipItem(max);
          }
      
          public bool BeforeCreateChildElements(UIElement parent)
          {
              return false;
          }
      }
      
      
      public class MyToolTipItem : IToolTipItem   {
          private readonly int max;
      
          public MyToolTipItem(int maxWidth)
          {
              max = maxWidth;
          }
      
          public MyToolTipItem()
          {
          }
      
          public ToolTipInfo GetToolTipInfo(Point mousePosition, UIElement element, UIElement previousToolTipElement,
                                        ToolTipInfo toolTipInfoDefault)
          {
              // set tooltip info for ribbon ApplicationMenuButton
              var app = element as ApplicationMenuButtonUIElement;
              if (app != null)
              {
                  var appmenu = ((UltraToolbarsDockAreaUIElement) ((app.Parent).Parent)).ToolbarsManager.Ribbon.ApplicationMenu;
                  if (max > 0)
                      toolTipInfoDefault.MaxWidth = max;
                  toolTipInfoDefault.Title = appmenu.ToolTipTitle;
      
                  string tooltiptex = appmenu.ToolTipText;
                  if (!string.IsNullOrEmpty(appmenu.ToolTipTextFormatted))
                  {
                      toolTipInfoDefault.ToolTipTextStyle = ToolTipTextStyle.Formatted;
                      tooltiptex = appmenu.ToolTipTextFormatted;
                  }
                  toolTipInfoDefault.ToolTipText = tooltiptex;
              }
      
              // set tooltip info for tools
              if (element.ToolTipItem != null && UIElement.IsContextOfType(element.GetContext(), typeof (ToolBase)))
              {
                  var tool = (ToolBase) element.GetContext(typeof (ToolBase));
                  var loc = tool.ToolbarsManager.DockWithinContainer.PointToScreen(new Point(0, 0));
              loc.Offset(tool.UIElement.Rect.Location.X, 185);
      
                  if (max > 0)
                      toolTipInfoDefault.MaxWidth = max;
              toolTipInfoDefault.Title = tool.SharedProps.ToolTipTitle;
              string tooltiptex = tool.SharedProps.ToolTipText;
                  if (!string.IsNullOrEmpty(tool.SharedProps.ToolTipTextFormatted))
                  {
                      toolTipInfoDefault.ToolTipTextStyle = ToolTipTextStyle.Formatted;
                      tooltiptex = tool.SharedProps.ToolTipTextFormatted;
                  }
                  toolTipInfoDefault.ToolTipText = tooltiptex;
                  toolTipInfoDefault.DisplayStyle = Infragistics.Win.ToolTipDisplayStyle.Office2007;
                  toolTipInfoDefault.Location = loc;
              }
              return toolTipInfoDefault;
          }
      

    Required a bit of tweaking to get the tooltip in the right place and pick-up the tooltip text from TooltipTextResolved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have you tried to use SharePoint with version control such as Perforce (or Subversion),
Have you ever had to justify the choice over using .NET instead of Java
Have a look at this picture alt text http://www.abbeylegal.com/downloads/2009-04-01/web%20part%20top%20line.jpg Does anyone know what css
Have a SomeLib.pro file that contains: CONFIG += debug TEMPLATE = lib TARGET =
Have someone tried out DeCAL in Delphi 2009? I'm thinking about upgrading from 2007,
Have a matrix report now that has Position, Hours and Wages for a location
Have you ever obfuscated your code before? Are there ever legitimate reasons to do
Have you ever created or encountered a self modifying code in Java? If yes,
Have you ever tried learning a language while on a project? I have, and
have not tested on windows. but in ubuntu when u disconnect from the network,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.