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
85
Background color of Infragistics.Win.ToolTip
posted

 I am using Infragistics.Win.ToolTip as described in the last message in the following topic:

 http://forums.infragistics.com/forums/p/3800/24484.aspx#24484

Now I want to change the color of the tooltip.  I've tried modifying ToolTip.BackColor and ToolTip.Control.BackColor, but there was no change on the screen whatsoever, the tooltip had the same default color.   How can I change the background color of  Infragistics.Win.ToolTip?

  • 10880
    posted

    After looking over your issue it seems you may have to pick between sizing your tooltip and coloring your tooltip.  Here is what I was able to get working when using the Infragistics.Win.Tooltip class:

    • size of the tooltip box through an overload on the show method (seems to have to do with the ToolTipTextStyle property)
    • custom location placement
    • custom styles from a limited set of choices

    Here is what I was able to achieve with the tooltip manager:

    • custom location placement
    • user defined styling

    If you want to continue to use the ToolTip class then it seems you are limited to the settings available off of tooltip.DisplayStyle which are BalloonTip, Office2007, Standard, and WindowsVista.

    If you use the TooltipManager, you lose the ability to size the tooltip but can color your tooltip through the appearance object (something that lacks on the Tooltip class).

    I am not sure why the BackColor is not taking affect.  I initially thought it had to do with OS themes but even when i disabled it for the application, it had no effect.  It may be a bug; it may not.  You may want to log an issue with Developer Support so they can log the issue for you, so that a developer can take a look at it.

    http://devcenter.infragistics.com/Protected/SubmitSupportIssue.aspx