property XMLGrid.VisibleLevelCount as Long
Returns a value that indicates the number of visible levels in the tree control.

TypeDescription
Long A long expression that indicates the number of visible levels.
Use the VisibleLevelCount property to specify the number of levels being displayed. Use the LevelWidth property to specify the level's width. Use the Level property to get the node's level.