แก้ไข

แชร์ผ่าน


FrameworkElement.ToolTipClosing Event

Definition

Occurs just before any tooltip on the element is closed.

public:
 event System::Windows::Controls::ToolTipEventHandler ^ ToolTipClosing;
public event System.Windows.Controls.ToolTipEventHandler ToolTipClosing;
member this.ToolTipClosing : System.Windows.Controls.ToolTipEventHandler 
Public Custom Event ToolTipClosing As ToolTipEventHandler 

Event Type

Remarks

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.

Routed Event Information

Identifier field ToolTipClosingEvent
Routing strategy Direct
Delegate ToolTipEventHandler
  • Override OnToolTipClosing to implement class handling for this event in derived classes.

Applies to

See also