Share via


TreeNode Editor

Allows you to view and change the list of nodes for a Windows Forms TreeView control. The TreeNode Editor appears when you are using the Properties window and click the ellipsis button next to the Nodes property of the control.

  • Select node to edit
    Lists the currently defined tree nodes for the collection. To edit a specific node, select it in this list and use the buttons below to make changes.

  • Add Root
    Allows you to add a new tree node to the collection at the top level of the tree.

  • Add Child
    Allows you to add a new tree node to the collection as a child node under whatever node is currently selected.

  • Delete
    Deletes the currently selected node and all its child nodes.

    Warning

    You cannot undo this action.

  • Label
    Allows you to edit the name of the currently selected node. This is equivalent to setting the tree node's Text property.

  • Image
    Lists the image that appears next to the currently selected node in the TreeView control. For images to appear in this drop-down list, an ImageList component must be associated with the TreeView control. For details, see Setting Icons for the Windows Forms TreeView Control.

  • Selected image
    Lists the image that appears next to the currently selected node in the TreeView control, when that node is selected at run time. For images to appear in this list, an ImageList component must be associated with the TreeView control. For details, see Setting Icons for the Windows Forms TreeView Control.

See Also

Reference

TreeView Control Overview (Windows Forms)