UIElement.TouchLeave Event


當觸控從這個項目的界限內部移至外部時發生。Occurs when a touch moves from inside to outside the bounds of this element.

 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) 


無論是否將觸控裝置捕捉至此元素,一律會引發此事件。This event is always raised, whether or not the touch device is captured to this element.

路由事件資訊Routed Event Information

識別碼欄位Identifier field TouchLeaveEvent
路由策略Routing strategy 直接Direct
Delegate - 委派Delegate 型別 EventHandler<TEventArgs>TouchEventArgsEventHandler<TEventArgs> of type TouchEventArgs.
  • 覆寫 OnTouchLeave,以在衍生類別中為這個事件執行類別處理。Override OnTouchLeave to implement class handling for this event in derived classes.

Applies to