TreeNode Methods
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Name | Description | |
|---|---|---|
![]() | BeginEdit() | Initiates the editing of the tree node label. |
![]() | Clone() | Copies the tree node and the entire subtree rooted at this tree node. |
![]() | Collapse() | Collapses the tree node. |
![]() | Collapse(Boolean) | Collapses the TreeNode and optionally collapses its children. |
![]() | CreateObjRef(Type^) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.) |
![]() | Deserialize(SerializationInfo^, StreamingContext) | Loads the state of the TreeNode from the specified SerializationInfo. |
![]() | EndEdit(Boolean) | 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. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Expand() | Expands the tree node. |
![]() | ExpandAll() | Expands all the child tree nodes. |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() ![]() | FromHandle(TreeView^, IntPtr) | Returns the tree node with the specified handle and assigned to the specified tree view control. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | GetNodeCount(Boolean) | Returns the number of child tree nodes. |
![]() | GetType() | |
![]() | InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | MemberwiseClone() | |
![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.) |
![]() | Remove() | Removes the current tree node from the tree view control. |
![]() | Serialize(SerializationInfo^, StreamingContext) | Saves the state of the TreeNode to the specified SerializationInfo. |
![]() | Toggle() | Toggles the tree node to either the expanded or collapsed state. |
![]() | ToString() | Returns a string that represents the current object.(Overrides Object::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | ISerializable::GetObjectData(SerializationInfo^, StreamingContext) | Populates a serialization information object with the data needed to serialize the TreeNode. |




