TreeViewExtensions.ExpandAll Method
Expands or Collapses all nodes in the TreeView.
ExpandAll(
expand as Boolean)
Parameters
- expand
- If set to true then it expands all nodes, if set to false then it collapses all nodes.
Remarks
Since this function extends the TreeView control then it can be called like:
TreeView1.ExpandAll(true)
(The TreeViewExtensions.rbo module has to be in your project).
See Also
TreeViewExtensions Module