UIElement.TouchLeave 事件


在触摸屏输入从此元素边界内部移动到其外部时发生。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 EventHandler<TEventArgs>类型TouchEventArgsEventHandler<TEventArgs> of type TouchEventArgs.
  • 重写 OnTouchLeave 在派生类中实现此事件的类处理。Override OnTouchLeave to implement class handling for this event in derived classes.