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
165
How can I set a formatted tooltip on an ExplorerBar Group Header?
posted

What the subject says ;-)

I can set the ToolTipText property, which gives me a regular tooltip.  There doesn't appear to be a property that lets me tell the ExplorerBar, or Group, that the tooltip contains formatted text.

I tried using the ToolTipManager like this:

this.ultraToolTipManager1.SetUltraToolTip(ultraExplorerBar1.Groups[0].UIElement.Control, tipInfo);

But the UIElement.Control portion is returning a Null Reference Exception.

Is there any way to set a formatted tooltip on the ExplorerBar Group Header?

Thanks!

Parents
No Data
Reply
  • 23930
    Verified Answer
    Offline posted

    Hi,

    Thank you for contacting Infragistics Developer Support.

    What you could do in order to create formatted tooltips is to use CreationFilter and use ToolTipItem property of the elements for which you want tooltips. You can assign to this property objects, which implement IToolTipItem interface, so you should create a custom class which implements this interface. It has only one method, which is GetToolTipInfo and it returns an object of type ToolTipInfo. In it you can create ToolTipInfo object and format it as you want.

    I have attached a sample which demonstrates how to format the tooltips of the UltraExplorerBar Group headers.

    Please let me know if you have any additional questions.

    WEB_SetFormattedTooltip.zip
Children