ToolTipService::ToolTipClosingEvent Field
Identifies the ToolTipClosing event that is exposed by objects that use the ToolTipService service to display tooltips.
Assembly: PresentationFramework (in PresentationFramework.dll)
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.
Available since 3.0