System.Windows.Forms.TreeNode: Method Members

The methods of System.Windows.Forms.TreeNode are listed below. For a list of all members, see the TreeNode Members list.

See Also: Inherited members from System.MarshalByRefObject

Public Methods

BeginEdit()

Initiates the editing of the tree node label.

Clone() : object

Copies the tree node and the entire subtree rooted at this tree node.

Collapse()

Collapses the tree node.

Collapse(bool)

Collapses the System.Windows.Forms.TreeNode and optionally collapses its children.

EndEdit(bool)

Ends the editing of the tree node label.

EnsureVisible()

Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary.

Expand()

Expands the tree node.

ExpandAll()

Expands all the child tree nodes.

static
FromHandle(TreeView, IntPtr) : TreeNode

Returns the tree node with the specified handle and assigned to the specified tree view control.

GetNodeCount(bool) : int

Returns the number of child tree nodes.

Remove()

Removes the current tree node from the tree view control.

Toggle()

Toggles the tree node to either the expanded or collapsed state.

override
ToString() : string
Documentation for this section has not yet been entered.

Protected Methods