I think this is common in treeview, it has a number of level, and I have a path, say:
Level1 > Level2 > Level3 > Level4
How can I expand the treeview to Level 4 by using the path? Any built-in function?
Thanks.
Purely based on documentation
TreeNode mynode = treeView1.FindNode(pathToNode);
mynode.Select();
mynode.Expand();
I hope you get the starting point from here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With