Export (0) Print
Expand All

TreeNode Methods

The TreeNode type exposes the following members.

  Name Description
Protected method Clone Infrastructure. Creates a new instance of the TreeNode class with the properties of the current TreeNode instance.
Public method Collapse Collapses the current tree node.
Public method CollapseAll Collapses the current node and all its child nodes.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Expand Expands the current tree node.
Public method ExpandAll Expands the current node and all its child nodes.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method LoadViewState Infrastructure. Loads the previously saved view state of the node.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method RenderPostText Allows control developers to add additional rendering to the node.
Protected method RenderPreText Allows control developers to add additional rendering to the node.
Protected method SaveViewState Infrastructure. Saves the current view state of the node.
Public method Select Selects the current node in the TreeView control.
Public method ToggleExpandState Alternates between the expanded and collapsed state of the node.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method TrackViewState Infrastructure. Marks the starting point at which to begin tracking and saving view state changes to the node.
Top

  Name Description
Explicit interface implemetation Private method ICloneable.Clone Infrastructure. Creates a copy of the TreeNode object.
Explicit interface implemetation Private method IStateManager.LoadViewState Infrastructure. Loads the node's previously saved view state.
Explicit interface implemetation Private method IStateManager.SaveViewState Infrastructure. Saves the view state changes to a System.Object.
Explicit interface implemetation Private method IStateManager.TrackViewState Infrastructure. Instructs the TreeNode object to track changes to its view state.
Top
Show:
© 2014 Microsoft