Expanded

This property returns and sets the expansion state of a TreeView node.

Syntax

node.Expanded[= value]

Parameters

node
Object expression that evaluates to a Node object.
value
Boolean. True expands the Node object. False collapses the Node object.

Remarks

You can use the Expanded property to programmatically expand a Node object.