UIElement Events


.NET Framework Class Library
UIElement..::.TouchMove Event

Occurs when a finger moves on the screen while the finger is over this element.

Namespace:  System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Syntax

Visual Basic (Declaration)
Public Event TouchMove As EventHandler(Of TouchEventArgs)
Visual Basic (Usage)
Dim instance As UIElement
Dim handler As EventHandler(Of TouchEventArgs)

AddHandler instance.TouchMove, handler
C#
public event EventHandler<TouchEventArgs> TouchMove
Visual C++
public:
 event EventHandler<TouchEventArgs^>^ TouchMove {
    void add (EventHandler<TouchEventArgs^>^ value);
    void remove (EventHandler<TouchEventArgs^>^ value);
}
F#
member TouchMove : IEvent<EventHandler<TouchEventArgs>,
    TouchEventArgs>
XAML Attribute Usage
<object TouchMove="EventHandler<TouchEventArgs>" .../>
Routed Event Information

Identifier field

TouchMoveEvent

Routing strategy

Bubbling

Delegate

EventHandler<(Of <(TEventArgs>)>) of type TouchEventArgs.

  • The corresponding tunneling event is PreviewTouchMove.

  • Override OnTouchMove to implement class handling for this event in derived classes.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
See Also

Reference

Page view tracker