|
TBaseVirtualTree.ChildCount Property
Read or set the number of child nodes of a node.
Pascal
property ChildCount [Node: PVirtualNode]: Cardinal;
Description
ChildCount can be used to read the current number of child nodes or to change it. Assigning a lower value than there was before will automatically delete as many child nodes (starting from the last child) as there are more than what was set. Increasing the value will add new child nodes. Note: code behind this property is very effective, so it using ChildCount is highly recommended over manipulating the child count using AddChild, InsertNode and DeleteNode.
Class
Links
What do you think about this topic? Send feedback!
|