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
510
tool tip for resource names
posted

Hi

We are facing an issue to show tool-tip when we do a mouse over a resource name on the DayView Control.

The issue is the tooltip just shows the name of the resource on which we first take the mouse over and doesn't change

to the next resource when we move the mouse.

We are using the code snippet below provided to us;

void dayView_MouseEnterElement(object sender, UIElementEventArgs e)
{
    UltraDayView dayView = sender as UltraDayView;
    nsDayView.OwnerHeaderUIElement headerElement = e.Element as nsDayView.OwnerHeaderUIElement;

    if ( headerElement != null && headerElement.Owner != null )
    {
        this.toolTip.SetToolTip( dayView, headerElement.Owner.Key );
    }
}

If  your mouse is already in the Ultradayview and if you mouse over say on one of the owners it would show the tooltip (see attached image)

Please do let us know as to what could a solution for this.

  • 69832
    Suggested Answer
    Offline posted

    Assuming "this.toolTip" returns a reference to our UltraToolTipManager, you should use its Show method in MouseEnterElement, and you might also want to handle MouseLeaveElement and hide it therein.