Skip to main content
.NET Framework Class Library
UIElementOnPreviewTouchMove Method

Provides class handling for the PreviewTouchMove routed event that occurs when a touch moves while inside this element.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)
Syntax
Protected Overridable Sub OnPreviewTouchMove ( _
	e As [%$TOPIC/dd784544_en-us_VS_110_2_0_0_0_0%] _
)
protected virtual void OnPreviewTouchMove(
	[%$TOPIC/dd784544_en-us_VS_110_2_0_1_0_0%] e
)
protected:
virtual void OnPreviewTouchMove(
	[%$TOPIC/dd784544_en-us_VS_110_2_0_2_0_0%]^ e
)
abstract OnPreviewTouchMove : 
        e:[%$TOPIC/dd784544_en-us_VS_110_2_0_3_0_0%] -> unit  
override OnPreviewTouchMove : 
        e:[%$TOPIC/dd784544_en-us_VS_110_2_0_3_0_1%] -> unit
protected function OnPreviewTouchMove(
	e : [%$TOPIC/dd784544_en-us_VS_110_2_0_4_0_0%]
)

Parameters

e
Type: System.Windows.InputTouchEventArgs

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’s OnPreviewTouchMove method so that base classes receive the event.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4