This session explains how to programmatically expand the root nodes in WinForms TreeViewAdv.
You can expand the Root nodes of the WinForms TreeViewAdv by using the Expand method of the node.
TreeNodeAdv root = this.treeViewAdv1.Root;
foreach (TreeNodeAdv node in root.Nodes)
{
// Call the Expand method on each root node.
node.Expand();
}
root.Expand();
Take a moment to peruse the WinForms TreeView - Getting Started documentation, where you can find about treeview with code examples.