LeafCount property: Tree class
Description
This property returns the number of leaves in the tree.
This property can be used only with an open tree, that is, you must use the Open method on the tree before you can use this property.
This property is read-only.