LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
DragOver Event
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class : DragOver Event



Occurs when an object is dragged over the control's bounds.

Syntax

Visual Basic (Declaration) 
<SRCategoryAttribute("Drag Drop")>
<SRDescriptionAttribute("Occurs when an object is dragged over the control's bounds.")>
Public Event DragOver As DragEventHandler
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim handler As DragEventHandler
 
AddHandler instance.DragOver, handler
C# 
[SRCategoryAttribute("Drag Drop")]
[SRDescriptionAttribute("Occurs when an object is dragged over the control's bounds.")]
public event DragEventHandler DragOver
C++/CLI 
[SRCategoryAttribute("Drag Drop")]
[SRDescriptionAttribute("Occurs when an object is dragged over the control's bounds.")]
public:
event DragEventHandler^ DragOver

Event Data

The event handler receives an argument of type DragEventArgs containing data related to this event. The following DragEventArgs properties provide information specific to this event.

PropertyDescription
AllowedEffect Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event.
Data Gets the System.Windows.Forms.IDataObject that contains the data associated with this event.
Effect Gets or sets the target drop effect in a drag-and-drop operation.
KeyState Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.
X Gets the x-coordinate of the mouse pointer, in screen coordinates.
Y Gets the y-coordinate of the mouse pointer, in screen coordinates.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features