Editable TreeView

I need a tree view with the following features:

  • ability to drag nodes within a tree structure
  • there are buttons at the top that allow you to move items up and down.
  • editable node text

Is there any implementation of this? If not all, is there an implementation of function 1?

+2


a source to share


1 answer


A normal tree view can enforce this.

Drag n nodes: http://www.codeproject.com/KB/tree/TreeViewDragDrop.aspx

You can edit lab objects by setting the LabelEdit property to true and then calling the .BeginEdit () method on a specific tree node.



treeView.LabelEdit = true;
treeView.Nodes[0].BeginEdit(); //activates editing of node 0

      

When LabelEdit is enabled, you can also edit node texts by clicking the node text.

+10


a source







All Articles