'Declaration
Public Event PointerMoved As EventHandler(Of PointerEventArgs)
public event EventHandler<PointerEventArgs> PointerMoved
The event handler receives an argument of type PointerEventArgs containing data related to this event. The following PointerEventArgs properties provide information specific to this event.
Property | Description |
---|---|
DeviceType | Gets the PointerDeviceType for the pointer device. |
Handled | Gets or sets a value that marks the routed event as handled. Setting to true prevents most handlers along the event route from handling the same event again. (Inherited from C1.Win.TouchToolKit.TouchRoutedEventArgs) |
ID | Gets the system-generated identifier for this pointer reference. |
IsInContact | Gets a value that determines whether the pointer device was in contact with a sensor or digitizer at the time that the event was reported. |
IsInRange | Gets a value that determines whether the pointer device was in detection range of a sensor or digitizer at the time that the event was reported. |
OriginalSource | Gets a reference to the object that raised the event. (Inherited from C1.Win.TouchToolKit.TouchRoutedEventArgs) |
Position | Gets the x- and y- control coordinates of the touch input at completed position. |
Properties | Gets extended information about the input pointer. |
TargetControl | Gets the target control which attached to the C1TouchEventProvider. (Inherited from C1.Win.TouchToolKit.TouchRoutedEventArgs) |
In some UI scenarios this event will fire a lot. Be aware of the performance profile for code you put into this handler, and consider ways to use your own flags or tolerances that can throttle how many times the logic actually needs to run.
This event is a routed event. If you do not want parent control receive this event, set PointerEventArgs.Handled
The following code example shows how to use this event.
This code example is part of a larger example provided for the PointerPressed event.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2