Returns the depth of the node in the tree.
The top level nodes have a depth value of 1.
This function is only valid for nodes that have been added to a TreeView control. Before they get added to the control then the return value of this function has no meaning.