TreeView Xojo plugin

TreeViewNode.Depth Method

Returns the depth of the node in the tree.

Depth() as Integer

Parameters

Returns

Integer

Remarks

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.

See Also

TreeViewNode Class