Skip to content

Commit d999a6b

Browse files
ES-975464 - Resolved the conflict
1 parent 5eebe26 commit d999a6b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
# How to programmatically expand the root nodes in WinForms TreeView
1+
# How to programmatically expand the root nodes in WinForms TreeView?
22

3-
This session explains how to programmatically expand the root nodes in [WinForms TreeView](https://help.syncfusion.com/windowsforms/treeview/overview) (TreeViewAdv)?
3+
This session explains how to programmatically expand the root nodes in [WinForms TreeView](https://help.syncfusion.com/windowsforms/treeview/overview) (TreeViewAdv).
44

55
You can expand the [Root](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TreeViewAdv.html#Syncfusion_Windows_Forms_Tools_TreeViewAdv_Root) nodes of the [TreeViewAdv](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TreeViewAdv.html) by using the [Expand](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TreeNodeAdv.html#Syncfusion_Windows_Forms_Tools_TreeNodeAdv_Expand) method of the node.
66

77
``` csharp
88
TreeNodeAdv root = this.treeViewAdv1.Root;
9+
910
foreach (TreeNodeAdv node in root.Nodes)
1011
{
1112
// Call the Expand method on each root node.
1213
node.Expand();
1314
}
15+
1416
root.Expand();
1517
```
1618

0 commit comments

Comments
 (0)