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; } }
public static void HideLastTooltip() { if (LastTooltip != null) { LastTooltip.Hide(); LastTooltip = null; } }
static void HideTooltip(object sender) { FrameworkElement owner = (FrameworkElement)sender; if (owner.GetValue(ToolTipExProperty) is ToolTipEx tooltip) { 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; }
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; }