แก้ไข

แชร์ผ่าน


UIElement.OnPreviewTouchMove(TouchEventArgs) Method

Definition

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)

Parameters

e
TouchEventArgs

A TouchEventArgs that contains the event data.

Remarks

The OnPreviewTouchMove method has no default implementation. Override OnPreviewTouchMove in a derived class to handle the PreviewTouchMove event. Be sure to call the base class' OnPreviewTouchMove method so that base classes receive the event.

Applies to