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



data
The data to drag.
allowedEffects
One of the System.Windows.Forms.DragDropEffects values.
data
The data to drag.
allowedEffects
One of the System.Windows.Forms.DragDropEffects values.
Begins a drag-and-drop operation.

Syntax

Visual Basic (Declaration) 
<UIPermissionAttribute(Window=UIPermissionWindow.NoWindows, 
   Clipboard=UIPermissionClipboard.OwnClipboard, 
   Action=SecurityAction.Demand, 
   Unrestricted=False)>
Public Function DoDragDrop( _
   ByVal data As Object, _
   ByVal allowedEffects As DragDropEffects _
) As DragDropEffects
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim data As Object
Dim allowedEffects As DragDropEffects
Dim value As DragDropEffects
 
value = instance.DoDragDrop(data, allowedEffects)
C# 
[UIPermissionAttribute(Window=UIPermissionWindow.NoWindows, 
   Clipboard=UIPermissionClipboard.OwnClipboard, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public DragDropEffects DoDragDrop( 
   object data,
   DragDropEffects allowedEffects
)
C++/CLI 
[UIPermissionAttribute(Window=UIPermissionWindow.NoWindows, 
   Clipboard=UIPermissionClipboard.OwnClipboard, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
DragDropEffects DoDragDrop( 
   Object^ data,
   DragDropEffects allowedEffects
) 

Parameters

data
The data to drag.
allowedEffects
One of the System.Windows.Forms.DragDropEffects values.

Return Value

A value from the System.Windows.Forms.DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.

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