ToolTipService::ToolTipClosingEvent Field

 
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.

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)

public:
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
Available since 3.0
Return to top
Show: