Skip to main content

TreeListNodeBase.HasChildren Property

Gets whether or not the node has a child node(s).

Namespace: DevExpress.Data.TreeList

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


public bool HasChildren { get; }

Property Value

Type Description

true if the node has a child node(s); otherwise, false.


The HasChildren property returns true if the node’s TreeListNode.Nodes collection is not empty.

The following code snippets (auto-collected from DevExpress Examples) contain references to the HasChildren property.


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