Flexible TreeView 5.1.9 Help
CreateDragDataObject Method



Nodes to drag.
Drag & drop allowed effects.
Called before starting the drag & drop in this treeview to create a data object that describes the object(s) being dragged.
Syntax
'Declaration
 
Protected Overridable Function CreateDragDataObject( _
   ByVal pNodes As List(Of Node), _
   ByVal pAllowedEffects As DragDropEffects _
) As DataObject
'Usage
 
Dim instance As FlexibleTreeView
Dim pNodes As List(Of Node)
Dim pAllowedEffects As DragDropEffects
Dim value As DataObject
 
value = instance.CreateDragDataObject(pNodes, pAllowedEffects)
protected virtual DataObject CreateDragDataObject( 
   List<Node> pNodes,
   DragDropEffects pAllowedEffects
)
protected:
virtual DataObject^ CreateDragDataObject( 
   List<Node^>^ pNodes,
   DragDropEffects pAllowedEffects
) 

Parameters

pNodes
Nodes to drag.
pAllowedEffects
Drag & drop allowed effects.

Return Value

Drag & drop data object.
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

FlexibleTreeView Class
FlexibleTreeView Members

Send Feedback