TreeListNodeCollection Class
A collection of nodes.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v17.2.dll
Declaration
public class TreeListNodeCollection :
TreeListNodeCollectionBase<TreeListNode>,
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.
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 learn more, see Nodes Overview.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TreeListNodeCollection class.
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.