編輯

共用方式為


UIElement.TouchLeave Event

Definition

Occurs when a touch moves from inside to outside the bounds of this element.

public:
 event EventHandler<System::Windows::Input::TouchEventArgs ^> ^ TouchLeave;
public event EventHandler<System.Windows.Input.TouchEventArgs> TouchLeave;
member this.TouchLeave : EventHandler<System.Windows.Input.TouchEventArgs> 
Public Custom Event TouchLeave As EventHandler(Of TouchEventArgs) 

Event Type

Remarks

This event is always raised, whether or not the touch device is captured to this element.

Routed Event Information

Item Value
Identifier field TouchLeaveEvent
Routing strategy Direct
Delegate EventHandler<TEventArgs> of type TouchEventArgs.
  • Override OnTouchLeave to implement class handling for this event in derived classes.

Applies to