←Select platform

DragStarted Event

Summary

Occurs when the user starts a drag operation.

Syntax

C#
VB
WinRT C#
public event EventHandler<InteractiveDragStartedEventArgs> DragStarted 
Public Event DragStarted As EventHandler(Of InteractiveDragStartedEventArgs) 
public event EventHandler<InteractiveDragStartedEventArgs> DragStarted 
add_DragStarted(function(sender, e)) 
remove_DragStarted(function(sender, e)) 

Event Data

The event handler receives an argument of type InteractiveDragStartedEventArgs containing data related to this event. The following InteractiveDragStartedEventArgs 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 DragStarted event will fire when any of the following occurs:

  • On a device that supports mouse and DragStartsOnDown is set to true: When the user presses down the left button and the mouse is over a TargetElement.
  • On a device that supports mouse and DragStartsOnDown is set to false: When the user presses down the left button and then moves the mouse over a TargetElement.
  • On a device that supports touch and DragStartsOnDown is set to true: When the user presses a finger down on a TargetElement.
  • On a device that supports touch and DragStartsOnDown is set to false: When the user presses a finger down and then moves over a TargetElement.

InteractiveDragStartedEventArgs

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)