Skip to main content

TreeListNode.HasChildren Property

Gets whether the node has children.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public bool HasChildren { get; }

Property Value

Type Description
Boolean

true if the node has child nodes; otherwise, false.

Remarks

Nodes hold their child nodes within the TreeListNode.ChildNodes collection. If this collection is empty, the HasChildren property returns false.

To learn more, see Nodes.

See Also