Index: Core/Common/src/Core.Common.Controls.TreeView/TreeNodeInfo.cs =================================================================== diff -u -rae6c53b67bd2ae5e49606b31fd1575eecc58620d -rc6f289d3b0d20b920ddd0938d1b24620a6dfa29e --- Core/Common/src/Core.Common.Controls.TreeView/TreeNodeInfo.cs (.../TreeNodeInfo.cs) (revision ae6c53b67bd2ae5e49606b31fd1575eecc58620d) +++ Core/Common/src/Core.Common.Controls.TreeView/TreeNodeInfo.cs (.../TreeNodeInfo.cs) (revision c6f289d3b0d20b920ddd0938d1b24620a6dfa29e) @@ -31,16 +31,8 @@ public class TreeNodeInfo { /// - /// Constructs a new . + /// Gets or sets the of the data of the tree node. /// - public TreeNodeInfo() - { - Text = tag => ""; - } - - /// - /// Gets or sets the of the data wrapped by the tree node. - /// public Type TagType { get; set; } /// @@ -65,7 +57,7 @@ /// Gets or sets a function for obtaining the tree node context menu. /// The first object parameter represents the data of the tree node. /// The second object parameter represents the data of the parent tree node. - /// The parameter represents the current tree view control. + /// The parameter represents the tree view control involved. /// public Func ContextMenuStrip { get; set; } @@ -104,8 +96,8 @@ /// /// Gets or sets an action for obtaining the logic to perform after removing the tree node. - /// The object parameter represents the data of the tree node. - /// The object parameter represents the data of the parent tree node. + /// The first object parameter represents the data of the tree node. + /// The second object parameter represents the data of the parent tree node. /// public Action OnNodeRemoved { get; set; } @@ -136,49 +128,42 @@ public Func CanDrag { get; set; } /// - /// Gets or sets a function for checking whether or not the tree node can be dropped to another location. + /// Gets or sets a function for checking whether or not a tree node can be dropped to the current tree node. /// The first object parameter represents the data of the tree node which is dragged. - /// The second object parameter represents the data of the tree node being considered as drop target. + /// The second object parameter represents the data of the tree node being considered as drop target (the current node). /// - /// When dragging a node, the function of the of the drop target should be called. + /// When dragging a node, the method of the of the drop target should be called. public Func CanDrop { get; set; } /// - /// Gets or sets a function for checking whether or not the tree node can be inserted into the drop target at a specific index. + /// Gets or sets a function for checking whether or not a tree node can be inserted into the current tree node at a specific index. /// The first object parameter represents the data of the tree node which is dragged. - /// The second object parameter represents the data of the tree node being considered as drop target. + /// The second object parameter represents the data of the tree node being considered as drop target (the current node). /// + /// When dragging a node, the method of the of the drop target should be called. public Func CanInsert { get; set; } /// /// Gets or sets an action for obtaining the logic to perform after dropping a tree node. /// The first object parameter represents the data of the tree node which was dropped. - /// The second object parameter represents the data of the new parent tree node. + /// The second object parameter represents the data of the new parent tree node (the current node). /// The third object parameter represents the data of the former parent tree node. /// The parameter represents the drop target index which the tree node was inserted at. - /// The parameter represents the current tree view control. + /// The parameter represents the tree view control involved. /// - /// After dropping a node, the function of the of the drop target should be called. + /// After dropping a node, the method of the of the drop target should be called. public Action OnDrop { get; set; } } /// /// Class that represents information for updating tree nodes. /// - /// The type of data wrapped by the tree node. + /// The type of data of the tree node. public class TreeNodeInfo { /// - /// Constructs a new . + /// Gets the of the data of the tree node. /// - public TreeNodeInfo() - { - Text = tag => ""; - } - - /// - /// Gets the of the data wrapped by the tree node. - /// public Type TagType { get @@ -194,7 +179,7 @@ public Func Text { get; set; } /// - /// Gets or sets a function for obtaining the tree node color. + /// Gets or sets a function for obtaining the tree node fore color. /// The parameter represents the data of the tree node. /// public Func ForeColor { get; set; } @@ -209,7 +194,7 @@ /// Gets or sets a function for obtaining the tree node context menu. /// The parameter represents the data of the tree node. /// The object parameter represents the data of the parent tree node. - /// The parameter represents the current tree view control. + /// The parameter represents the tree view control involved. /// public Func ContextMenuStrip { get; set; } @@ -280,29 +265,30 @@ public Func CanDrag { get; set; } /// - /// Gets or sets a function for checking whether or not the tree node can be dropped to another location. + /// Gets or sets a function for checking whether or not a tree node can be dropped to the current tree node. /// The first object parameter represents the data of the tree node which is dragged. - /// The second object parameter represents the data of the tree node being considered as drop target. + /// The second object parameter represents the data of the tree node being considered as drop target (the current node). /// - /// When dragging a node, the function of the of the drop target should be called. + /// When dragging a node, the method of the of the drop target should be called. public Func CanDrop { get; set; } /// - /// Gets or sets a function for checking whether or not the tree node can be inserted into the drop target at a specific index. + /// Gets or sets a function for checking whether or not a tree node can be inserted into the current tree node at a specific index. /// The first object parameter represents the data of the tree node which is dragged. - /// The second object parameter represents the data of the tree node being considered as drop target. + /// The second object parameter represents the data of the tree node being considered as drop target (the current node). /// + /// When dragging a node, the method of the of the drop target should be called. public Func CanInsert { get; set; } /// /// Gets or sets an action for obtaining the logic to perform after dropping a tree node. /// The first object parameter represents the data of the tree node which was dropped. - /// The second object parameter represents the data of the new parent tree node. + /// The second object parameter represents the data of the new parent tree node (the current node). /// The third object parameter represents the data of the former parent tree node. /// The parameter represents the drop target index which the tree node was inserted at. - /// The parameter represents the current tree view control. + /// The parameter represents the tree view control involved. /// - /// After dropping a node, the function of the of the drop target should be called. + /// After dropping a node, the method of the of the drop target should be called. public Action OnDrop { get; set; } ///