←Select platform

DragCompleted Event

Summary

Occurs when the user completes a drag operation.

Syntax

C#
VB
WinRT C#
public event EventHandler<InteractiveDragCompletedEventArgs> DragCompleted
Public Event DragCompleted As EventHandler(Of InteractiveDragCompletedEventArgs)
public event EventHandler<InteractiveDragCompletedEventArgs> DragCompleted
add_DragCompleted(function(sender, e)) 
remove_DragCompleted(function(sender, e)) 

Event Data

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.

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.
Velocity Gets or sets the final horizontal and vertical velocity of the drag, if the drag was inertial.
Remarks

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.

InteractiveDragCompletedEventArgs

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize