Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Silverlight
Hi Experts,
 
Can anyone help me writing a custom tooltip according to my design? I need to create a Tooltip where I have a Link or Button inside the Tooltip. Designing is easy but the problem comes here on writing the event for button inside the tooltip. How can I make the tooltip stay there if I enter my mouse inside it so that I can click on the button inside the tooltip.
 
Is it possible in anyway? Please help me regarding the same asap. I am using Silverlight 3, Visual Studio 2008 SP1.
Posted 5-Feb-10 1:45am
Edited 18-Aug-10 2:18am
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Thanks Pete for pointing out the same. I implemented it as mentioned by you & also want to tell it is working perfectly.
 
It my case, it required some more tweaks to get the data as I was using data template inside the list which has the tooltip.
 
Anyway I resolved it & last but not least thanks for your valuable help. Thumbs Up | :thumbsup:
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

The only way to really do this would be to display something that, in WPF, is called an adorner. Basically, you'd need to hook into the mouseover and display the adorner after a short period of time.
 
Now, adorners aren't natively supported by Silverlight, so you have to fake them. One way to do this is to create a collapsed container (such as a Grid), and set its location when you display the adorner.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 480
1 Maciej Los 304
2 Richard MacCutchan 225
3 BillWoodruff 169
4 Suraj Sahoo | Coding Passion 155
0 OriginalGriff 8,759
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,269
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web01 | 2.8.1411028.1 | Last Updated 18 Aug 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100