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.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public bool HasChildren { get; }

Property Value

Type Description
Boolean

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

Remarks

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.

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