←Select platform

DragDelta Event

Summary

Occurs when the user moves the mouse or finger while dragging.

Syntax

C#
VB
WinRT C#
public event EventHandler<InteractiveDragDeltaEventArgs> DragDelta 
Public Event DragDelta As EventHandler(Of InteractiveDragDeltaEventArgs) 
public event EventHandler<InteractiveDragDeltaEventArgs> DragDelta 
add_DragDelta(function(sender, e)) 
remove_DragDelta(function(sender, e)) 

Event Data

The event handler receives an argument of type InteractiveDragDeltaEventArgs containing data related to this event. The following InteractiveDragDeltaEventArgs properties provide information specific to this event.

PropertyDescription
Change Gets or sets the change between the original and current position.
Direction Gets or sets the direction of the drag operation.
NativeEventArgs (Inherited from Leadtools.Controls.InteractiveEventArgs)Gets or sets the native Windows Runtime event associated with this event.
Origin (Inherited from Leadtools.Controls.InteractiveEventArgs)Gets or sets the original mouse or touch position.
Position (Inherited from Leadtools.Controls.InteractiveEventArgs)Gets or sets the current mouse or touch position.
Remarks

The DragDelta event will always fire after DragStarted occurs and any of the following occurs:

  • On a device that supports mouse: When the user moves the mouse while holding the button down after a drag operation has been started.

  • On a device that supports touch: When the user moves the finger after a drag operation has been started.

InteractiveDragDeltaEventArgs

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)