System.Windows.Forms.TreeView.VisibleCount Property

Gets the number of tree nodes that can be fully visible in the tree view control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public int VisibleCount { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The TreeView.VisibleCount value can be greater than the number of tree nodes in the tree view. The value is calculated by dividing the height of the client window by the height of a tree node item. The result is the total number of System.Windows.Forms.TreeNode objects that the System.Windows.Forms.TreeView can display within its current dimensions.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0