Xceed Grid for WinForms v4.3 Documentation
DoDragDrop Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > VisualGridElement Class : DoDragDrop Method
The data to drag.
One of the System.Windows.Forms.DragDropEffects values.
Begins a drag-and-drop operation.
Syntax
'Declaration
 
Public Function DoDragDrop( _
   ByVal data As Object, _
   ByVal allowedEffects As DragDropEffects _
) As DragDropEffects
'Usage
 
Dim instance As VisualGridElement
Dim data As Object
Dim allowedEffects As DragDropEffects
Dim value As DragDropEffects
 
value = instance.DoDragDrop(data, allowedEffects)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

VisualGridElement Class
VisualGridElement Members