Back to Devexpress

TreeListNodeCollection Class

wpf-devexpress-dot-xpf-dot-grid-5f1c152a.md

latest3.5 KB
Original Source

TreeListNodeCollection Class

A collection of nodes.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public class TreeListNodeCollection :
    TreeListNodeCollectionBase<TreeListNode>,
    ITreeListNodeCollection,
    IEnumerable
vb
Public Class TreeListNodeCollection
    Inherits TreeListNodeCollectionBase(Of TreeListNode)
    Implements 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.

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

TreeListNodeCollection Members

DevExpress.Xpf.Grid Namespace