Etana
Topic Author
Posts: 17
Joined: 21 Aug 2016, 13:14

Re: [Unity] How to use ToolTipOpening?

12 Nov 2016, 00:16

Thanks for the test project.
After looking at your code I did realize what I had wrong, same thing you told me earlier but I did not realize that the name of that static function also matters in this case.

My Xaml was correct,
 helper:ToolTipHelper.EnableToolTipHandler="True" 
My dependancy property name was correct
  public static DependencyProperty EnableToolTipHandlerProperty = DependencyProperty.RegisterAttached(
            "EnableToolTipHandler" ... 
But the name of the static functions,
        public static bool GetTooltipHandler(DependencyObject obj)
        public static void SetTooltipHandler
as you said was incorrect. As I said, I did not knew it matters in this case because I though it was just a... name for that function :)

Thanks for your help with this Sfernandez and sorry for all this hassle which I managed to cause with my lack of understanding what I read :roll:
 
User avatar
jsantos
Site Admin
Posts: 3919
Joined: 20 Jan 2012, 17:18
Contact:

Re: [Unity] How to use ToolTipOpening?

15 Nov 2016, 02:41

Thanks a lot for reporting back!

Who is online

Users browsing this forum: jsantos and 1 guest