Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FrameworkElement.ToolTipClosing Event

 

Occurs just before any tooltip on the element is closed.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public event ToolTipEventHandler ToolTipClosing

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.

Identifier field

ToolTipClosingEvent

Routing strategy

Direct

Delegate

ToolTipEventHandler

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft