UIElement.OnTouchMove(TouchEventArgs) UIElement.OnTouchMove(TouchEventArgs) UIElement.OnTouchMove(TouchEventArgs) UIElement.OnTouchMove(TouchEventArgs) Method

定义

为在此元素内部移动触摸屏输入时发生的 TouchMove 路由事件提供类处理。Provides class handling for the TouchMove routed event that occurs when a touch moves while inside this element.

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

参数

e
TouchEventArgs TouchEventArgs TouchEventArgs TouchEventArgs

包含事件数据的 TouchEventArgsA TouchEventArgs that contains the event data.

注解

OnTouchMove方法没有默认实现。The OnTouchMove method has no default implementation. OnTouchMove派生类中重写以TouchMove处理事件。Override OnTouchMove in a derived class to handle the TouchMove event. 请确保调用基类的OnTouchMove方法, 以便基类接收事件。Be sure to call the base class' OnTouchMove method so that base classes receive the event.

适用于