For a specific node in a tree, I want to find out all its parent node. So I try to use recursive function.
then need to know if a treeviewitem is s root node. How to know that?
For a specific node in a tree, I want to find out all its parent node. So I try to use recursive function.
then need to know if a treeviewitem is s root node. How to know that?