UIElement.OnTouchUp(TouchEventArgs) 方法

定義

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

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

參數

e
TouchEventArgs

TouchEventArgs,其中包含事件資料。A TouchEventArgs that contains the event data.

備註

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

適用於