Skip to main content

TreeListNodeCollection Class

A collection of nodes.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public class TreeListNodeCollection :
    TreeListNodeCollectionBase<TreeListNode>,
    ITreeListNodeCollection,
    IEnumerable

The following members return TreeListNodeCollection objects:

Remarks

Nodes are stored as nested collections, because the TreeListView displays data in a tree. The collection of root level nodes can be accessed via the TreeListView.Nodes property. Each node has its own collection of child nodes available via the TreeListNode.Nodes property. These child nodes have their own children, etc.

Treelist Levels

In a bound mode, nodes are created automatically for every record in a data source. In an unbound mode, you need to create nodes manually.

To iterate through the nodes, do the following.

To learn more, see Nodes Overview.

Inheritance

Object
Collection<TreeListNode>
DevExpress.Data.TreeList.TreeListNodeCollectionBase<TreeListNode>
TreeListNodeCollection
See Also