UIElement.OnTouchUp(TouchEventArgs) UIElement.OnTouchUp(TouchEventArgs) UIElement.OnTouchUp(TouchEventArgs) UIElement.OnTouchUp(TouchEventArgs) Method

定义

为在此元素内部释放触摸屏输入时发生的 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 TouchEventArgs TouchEventArgs

包含事件数据的 TouchEventArgsA 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.

适用于