ContentElement.OnPreviewTouchUp(TouchEventArgs) Method

Definition

提供 PreviewTouchUp 路由事件的類別處理,而這個事件會在觸控於此項目內放開時發生。Provides class handling for the PreviewTouchUp routed event that occurs when a touch is released inside this element.

protected public:
 virtual void OnPreviewTouchUp(System::Windows::Input::TouchEventArgs ^ e);
protected internal virtual void OnPreviewTouchUp (System.Windows.Input.TouchEventArgs e);
abstract member OnPreviewTouchUp : System.Windows.Input.TouchEventArgs -> unit
override this.OnPreviewTouchUp : System.Windows.Input.TouchEventArgs -> unit
Protected Friend Overridable Sub OnPreviewTouchUp (e As TouchEventArgs)

Parameters

e
TouchEventArgs

包含事件資料的 TouchEventArgsA TouchEventArgs that contains the event data.

Remarks

OnPreviewTouchUp 方法沒有預設的實值。The OnPreviewTouchUp method has no default implementation. 覆寫衍生類別中的 OnPreviewTouchUp,以處理 PreviewTouchUp 事件。Override OnPreviewTouchUp in a derived class to handle the PreviewTouchUp event. 請務必呼叫基類 ' OnPreviewTouchUp 方法,讓基類接收事件。Be sure to call the base class' OnPreviewTouchUp method so that base classes receive the event.

Applies to