Export (0) Print
Expand All

FrameworkElement.ToolTipClosing Event

Occurs just before any tooltip on the element is closed.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public event ToolTipEventHandler ToolTipClosing
<object ToolTipClosing="ToolTipEventHandler" .../>

Identifier field

ToolTipClosingEvent

Routing strategy

Direct

Delegate

ToolTipEventHandler

  • Override OnToolTipClosing to implement class handling for this event in derived classes.

Marking the ToolTipClosing event as handled does not cancel closing the tooltip. Once the tooltip is displayed, closing the tooltip is done only in response to user interaction with the UI.

This event cannot be an EventTrigger in a style. This is because the identifier field of this event re-uses an implementation from a service that does not expose add/remove event methods for the service-level event.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft