ContentElement.OnTouchMove(TouchEventArgs) ContentElement.OnTouchMove(TouchEventArgs) ContentElement.OnTouchMove(TouchEventArgs) ContentElement.OnTouchMove(TouchEventArgs) Method

定義

提供 TouchMove 路由事件的類別處理,而這個事件會在觸控尚處於此項目內並有所移動時發生。Provides class handling for the TouchMove routed event that occurs when a touch moves while inside this element.

protected public:
 virtual void OnTouchMove(System::Windows::Input::TouchEventArgs ^ e);
protected internal 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 Friend Overridable Sub OnTouchMove (e As TouchEventArgs)

參數

e
TouchEventArgs TouchEventArgs TouchEventArgs TouchEventArgs

TouchEventArgs,其中包含事件資料。A 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.

適用於