Skip to main content

TreeList.VisibleNodesCount Property

Gets the number of rows which are not hidden within collapsed groups.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

[Browsable(false)]
public int VisibleNodesCount { get; }

Property Value

Type Description
Int32

An integer value representing the number of rows which are not hidden within collapsed groups.

Remarks

The TreeList control represents data in a tree-like manner. Each node can have a number of child nodes, which in turn, can serve as parents for other nodes, etc. Each parent node can be expanded/collapsed in order to show/hide their children respectively. A node is visible if all its parent rows are expanded. If at least one parent of a node is collapsed, the node is invisible.

Use the VisibleNodesCount property to determine the number of nodes which are not hidden within collapsed groups.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VisibleNodesCount property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also