UIElement.PreviewTouchUp 事件

定义

当悬停在此元素上方的手指从屏幕上移开时发生。Occurs when a finger is raised off of the screen while the finger is over this element.

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

注解

路由事件信息Routed Event Information

标识符字段Identifier field PreviewTouchUpEvent
路由策略Routing strategy 隧道Tunneling
委托Delegate EventHandler<TEventArgs>类型TouchEventArgsEventHandler<TEventArgs> of type TouchEventArgs.
  • 对应的冒泡事件 TouchUpThe corresponding bubbling event is TouchUp.

  • 重写 OnPreviewTouchUp 在派生类中实现此事件的类处理。Override OnPreviewTouchUp to implement class handling for this event in derived classes.

适用于