Index: Core/Common/src/Core.Common.Controls.TreeView/DragDropHandler.cs =================================================================== diff -u -rae6c53b67bd2ae5e49606b31fd1575eecc58620d -r688579f00220a59473f60b78f10253633743b853 --- Core/Common/src/Core.Common.Controls.TreeView/DragDropHandler.cs (.../DragDropHandler.cs) (revision ae6c53b67bd2ae5e49606b31fd1575eecc58620d) +++ Core/Common/src/Core.Common.Controls.TreeView/DragDropHandler.cs (.../DragDropHandler.cs) (revision 688579f00220a59473f60b78f10253633743b853) @@ -26,6 +26,9 @@ namespace Core.Common.Controls.TreeView { + /// + /// This class handles the drag and drop related logic for a . + /// public class DragDropHandler { private int dropAtLocation; @@ -35,6 +38,13 @@ private TreeNode lastPlaceholderNode; private Graphics placeHolderGraphics; + /// + /// This method handles the event for a . + /// + /// The to handle the event for. + /// The of the . + /// The arguments of the event. + /// A function for obtaining the object corresponding to a provided data object. public void HandleDragDrop(TreeViewControl treeViewControl, FormsTreeView treeView, DragEventArgs e, Func getTreeNodeInfoForData) { ClearPlaceHolders(treeView); @@ -84,6 +94,13 @@ } } + /// + /// This method handles the event for a . + /// + /// The of the . + /// The sender of the event. + /// The arguments of the event. + /// A function for obtaining the object corresponding to a provided data object. public void HandleDragOver(FormsTreeView treeView, object sender, DragEventArgs e, Func getTreeNodeInfoForData) { if (lastDragOverPoint.X == e.X && lastDragOverPoint.Y == e.Y) @@ -135,6 +152,12 @@ } } + /// + /// This method handles the event for a . + /// + /// The of the . + /// The arguments of the event. + /// A function for obtaining the object corresponding to a provided data object. public void HandleItemDrag(FormsTreeView treeView, ItemDragEventArgs e, Func getTreeNodeInfoForData) { // gather allowed effects for the current item. @@ -161,6 +184,10 @@ treeView.DoDragDrop(dataObject, DragDropEffects.Move); } + /// + /// This method handles the event for a . + /// + /// The of the . public void HandleDragLeave(FormsTreeView treeView) { ClearPlaceHolders(treeView);