A newer version of this page is available. Switch to the current version.

TreeListNodeCollection Class

A collection of nodes.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.dll

Declaration

public class TreeListNodeCollection :
    TreeListNodeCollectionBase<TreeListNode>,
    ITreeListNodeCollection,
    IEnumerable
Public Class TreeListNodeCollection
    Inherits TreeListNodeCollectionBase(Of TreeListNode)
    Implements ITreeListNodeCollection,
               IEnumerable

Related API Members

The following members accept/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