public event EventHandler<InteractiveDragCompletedEventArgs> DragCompleted
add_DragCompleted(function(sender, e)) remove_DragCompleted(function(sender, e))
The event handler receives an argument of type InteractiveDragCompletedEventArgs containing data related to this event. The following InteractiveDragCompletedEventArgs 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. |
Velocity | Gets or sets the final horizontal and vertical velocity of the drag, if the drag was inertial. |
The DragCompleted event will always occur after the DragStarted event and any of the following occur:
On a device that supports mouse: When the user releases the mouse button.
On a device that supports touch: When the user removes the finger from the device.
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