FrameworkElement.ToolTipClosing Event

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Occurs just before any tooltip on the element is closed.

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

Public Event ToolTipClosing As ToolTipEventHandler

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: