Index: Core/Common/src/Core.Common.Controls.TreeView/Core.Common.Controls.TreeView.csproj
===================================================================
diff -u -r635f3563d55eeaf54725ddcf654670f26d55a663 -rdb46e1af6dc390f8e9a9bea0ba1a3529559d8f3b
--- Core/Common/src/Core.Common.Controls.TreeView/Core.Common.Controls.TreeView.csproj (.../Core.Common.Controls.TreeView.csproj) (revision 635f3563d55eeaf54725ddcf654670f26d55a663)
+++ Core/Common/src/Core.Common.Controls.TreeView/Core.Common.Controls.TreeView.csproj (.../Core.Common.Controls.TreeView.csproj) (revision db46e1af6dc390f8e9a9bea0ba1a3529559d8f3b)
@@ -42,14 +42,12 @@
-
True
True
Resources.resx
-
UserControl
Index: Core/Common/src/Core.Common.Controls.TreeView/DragDropHandler.cs
===================================================================
diff -u -r46a14ec1ad945f15590e3362d8fe47498110e10d -rdb46e1af6dc390f8e9a9bea0ba1a3529559d8f3b
--- Core/Common/src/Core.Common.Controls.TreeView/DragDropHandler.cs (.../DragDropHandler.cs) (revision 46a14ec1ad945f15590e3362d8fe47498110e10d)
+++ Core/Common/src/Core.Common.Controls.TreeView/DragDropHandler.cs (.../DragDropHandler.cs) (revision db46e1af6dc390f8e9a9bea0ba1a3529559d8f3b)
@@ -31,6 +31,17 @@
///
public class DragDropHandler
{
+ private enum PlaceholderLocation
+ {
+ Top,
+ Bottom,
+ Middle,
+ None
+ }
+
+ private const int defaultImageWidth = 16;
+ private const int spaceBetweenNodeParts = 2;
+
private int dropAtLocation;
private Point lastDragOverPoint;
private PlaceholderLocation lastPlaceholderLocation;
@@ -47,7 +58,7 @@
/// A function for obtaining the object corresponding to a provided data object.
public void HandleDragDrop(TreeViewControl treeViewControl, FormsTreeView treeView, DragEventArgs e, Func