Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ToolTipClosingEvent Field

ToolTipService::ToolTipClosingEvent Field

Identifies the ToolTipClosing event that is exposed by objects that use the ToolTipService service to display tooltips.

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

static initonly RoutedEvent^ ToolTipClosingEvent

Field Value

Type: System.Windows::RoutedEvent
The identifier for the ToolTipClosing event.

The ToolTipClosing event occurs immediately before a tooltip closes.

This field registers the behavior of the ToolTipClosingEvent event for classes that use this service. The FrameworkElement and FrameworkContentElement classes both implement the ToolTipService and expose this event through the common language runtime (CLR) accessors FrameworkElement::ToolTipClosing and FrameworkContentElement::ToolTipClosing.

If you specify the tooltip as a ToolTip object, the Closed event is also raised when the tooltip closes.

The following example shows how to set an event handler for the ToolTipClosing event. In this case, the event handler is actually for FrameworkElement::ToolTipClosing, because the Ellipse where the handler is attached is a derived class of FrameworkElement.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft