public static void SetToolTipEx(
     DependencyObject o,
     ToolTipEx t
     )
 {
     o.SetValue(ToolTipExProperty, t);
 }
 public static void HideLastTooltip()
 {
     if (TooltipServiceEx.LastTooltip != null)
     {
         TooltipServiceEx.LastTooltip.Hide();
         TooltipServiceEx.LastTooltip = null;
     }
 }
        static void HideTooltip(
            object sender
            )
        {
            FrameworkElement owner;
            ToolTipEx        tooltip;

            owner   = (FrameworkElement)sender;
            tooltip = owner.GetValue(TooltipServiceEx.ToolTipExProperty) as ToolTipEx;

            if (tooltip != null)
            {
                tooltip.Hide();
            }
            LastTooltip = null;
        }
        static void HideTooltip(
            object                                      sender
        )
        {
            FrameworkElement                            owner;
            ToolTipEx                                   tooltip;

            owner = (FrameworkElement) sender;
            tooltip = owner.GetValue(TooltipServiceEx.ToolTipExProperty) as ToolTipEx;

            if (tooltip != null)
            {
                tooltip.Hide();
            }
            LastTooltip = null;
        }
 public static void SetToolTipEx(
     DependencyObject                            o,
     ToolTipEx                                   t
 )
 {
     o.SetValue(ToolTipExProperty, t);
 }
 public static void HideLastTooltip()
 {
     if (TooltipServiceEx.LastTooltip != null)
     {
         TooltipServiceEx.LastTooltip.Hide();
         TooltipServiceEx.LastTooltip = null;
     }
 }