Skip to main content
FrameworkElementToolTipOpening Event

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

Occurs when any tooltip on the element is opened.

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

public event ToolTipEventHandler ToolTipOpening
event ToolTipEventHandler^ ToolTipOpening {
	void add(ToolTipEventHandler^ value);
	void remove(ToolTipEventHandler^ value);
member ToolTipOpening : IEvent<ToolTipEventHandler,
Public Event ToolTipOpening As ToolTipEventHandler

To prevent a tooltip from appearing in the UI, your handler for ToolTipOpening can mark the ToolTipEventArgs event data handled. Otherwise, the tooltip is displayed, using the value of the property as the tooltip content. Another possible scenario is that you could write a handler that resets the value of the property for the element that is the event source, just before the tooltip is displayed.

ToolTipOpening will not be raised if the value of is null or otherwise unset. Do not deliberately set to null while a tooltip is open or opening; this will not have the effect of closing the tooltip, and will instead create an undesirable visual artifact in the UI.

The ToolTipOpening 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


Routing strategy




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

.NET Framework
Available since 3.0
Return to top