GetVisibleCount

This method returns the number of Node objects that fit in the internal area of a TreeView control.

Syntax

treeview.GetVisibleCount

Parameters

treeview
Object expression that evaluates to a TreeView control.

Return Value

Returns the number of visible Node objects.

Remarks

The number of lines that fit in a window determines the number of Node objects. The count includes the partially visible item at the bottom of the list.