Occurs when the user completes a drag operation.
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))
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET