TBaseVirtualTree.GetNodeLevel Method

Virtual Tree View

Returns the indentation level of the given node.

Pascal
function GetNodeLevel(Node: PVirtualNode): Cardinal;
Description

GetNodeLevel returns the level of Node. This level is determined by the number of parent nodes (excluding the hidden root node). Top level nodes have the level 0, their direct child nodes have level 1 etc.

Class
Links
What do you think about this topic? Send feedback!