UIElement.OnPreviewTouchMove(TouchEventArgs) UIElement.OnPreviewTouchMove(TouchEventArgs) UIElement.OnPreviewTouchMove(TouchEventArgs) UIElement.OnPreviewTouchMove(TouchEventArgs) Method

定義

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

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

參數

e
TouchEventArgs TouchEventArgs TouchEventArgs TouchEventArgs

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

備註

OnPreviewTouchMove方法有沒有預設的實作。The OnPreviewTouchMove method has no default implementation. 覆寫OnPreviewTouchMove衍生類別來處理在PreviewTouchMove事件。Override OnPreviewTouchMove in a derived class to handle the PreviewTouchMove event. 請務必呼叫基底類別OnPreviewTouchMove方法的基底類別,因此可接收事件。Be sure to call the base class' OnPreviewTouchMove method so that base classes receive the event.

適用於