Редагувати

Поділитися через


TreeView.VisibleCount Property

Definition

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

public:
 property int VisibleCount { int get(); };
[System.ComponentModel.Browsable(false)]
public int VisibleCount { get; }
[<System.ComponentModel.Browsable(false)>]
member this.VisibleCount : int
Public ReadOnly Property VisibleCount As Integer

Property Value

The number of TreeNode items that can be fully visible in the TreeView control.

Attributes

Remarks

The 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 TreeNode objects that the TreeView can display within its current dimensions.

Applies to

See also