How to create Pesistent tooltip programmatically

Topics: fixed
Feb 3, 2010 at 1:44 PM

hi Xavier,

 

thanks for building such dlls, i have a copy your dll but i am not able to create tooltips from codebehind, pls help in creating.

Coordinator
Feb 3, 2010 at 2:30 PM
Edited Feb 3, 2010 at 2:31 PM

Hi,

 

please take a look at my blog: http://xavierdecoster.wordpress.com/2010/01/31/silverlight-3-advanced-tooltipservice-v2-0-0-released/

you'll find a line of code there that might be interesting in particular for what you are trying to do (don't forget to use the ToolTip class that is provided in my assembly, and extends the original SL ToolTip class).

 

Kind regards,

 

Xavier

Apr 12, 2010 at 11:04 AM

Hi,

  When I set IntialDelay to Duration not in full seconds, the tooltip never shows up :( .  

Thx, Stefan

Code:   InitialDelay = new Duration(TimeSpan.FromSeconds(0.5))

Coordinator
Apr 12, 2010 at 12:09 PM
Hi Stefando,

thanks for reporting the issue.
I will look into it asap.

If you have checked out the sources, there might be a workaround for you by setting the ToolTipTimer (class in sources) interval to 0.5 seconds (or 0.1 seconds) instead, as a temporary workaround.

Hope this helps for now.

Kind regards,

Xavier

>----- Oorspronkelijk bericht -----
>Van
: stefando [mailto:notifications@codeplex.com]
>Verzonden
: maandag
, april
12, 2010 01:05 PM
>Aan
: xavier_decoster@telenet.be
>Onderwerp
: Re: How to create Pesistent tooltip programmatically [tooltipservice:83014]
>
>From: stefando
>
>Hi, When I set IntialDelay to Duration not in full seconds, the tooltip never shows up :( . Thx, StefanCode: InitialDelay = new Duration(TimeSpan.FromSeconds(0.5))
>
>
Coordinator
Apr 12, 2010 at 12:17 PM
FYI,

I created a new item in the issues list for further tracking.
http://tooltipservice.codeplex.com/workitem/list/basic

I'll try to come up with a fix as soon as possible.

Kind regards,

Xavier

>----- Oorspronkelijk bericht -----
>Van
: stefando [mailto:notifications@codeplex.com]
>Verzonden
: maandag
, april
12, 2010 01:05 PM
>Aan
: xavier_decoster@telenet.be
>Onderwerp
: Re: How to create Pesistent tooltip programmatically [tooltipservice:83014]
>
>From: stefando
>
>Hi, When I set IntialDelay to Duration not in full seconds, the tooltip never shows up :( . Thx, StefanCode: InitialDelay = new Duration(TimeSpan.FromSeconds(0.5))
>
>