I have a treeview node that I would like to expand just only one special node. I know that by writing treeView1.ExpandAll()
it will expand all the nodes and sub-nodes. But what I mean is something like this:
I tried also writhing this command but it has no influence in the tree(!):
TreeNode lastNode = treeView1.Nodes[0].Nodes[treeView1.Nodes.Count - 1];
lastNode.Expand();