public event EventHandler<InteractiveDragDeltaEventArgs> DragDelta
add_DragDelta(function(sender, e)) remove_DragDelta(function(sender, e))
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.
Property | Description |
---|---|
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. |
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.
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