TreeViewNode.SetExpanded Method
Expands or collapses the node.

SetExpanded(
value
as Boolean,
refresh
as Boolean)
Parameters
- value
- True if the node should be expanded, false if it should be collapsed.
- refresh
- True if the the control that the node lives in should refresh it self right after the change. False if it should not refresh it self.
Remarks
See Also
TreeViewNode Class