Log In
[Expand]Welcome to DevExpress .NET Documentation
[Collapse]WinForms Controls
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Collapse]Tree List
   [Expand]Product Information
   [Collapse]Feature Center
    [Expand]Data Binding
      Node Objects
      Node Structure
      Using the Nodes Iterator
      Custom Nodes
    [Expand]Data Editing
    [Expand]Data Representation
    [Expand]Appearances and Look And Feel
    [Expand]Focus, Selection and Navigation
     Formatting Cell Values
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]End User Capabilities
   [Expand]Member Tables
  [Expand]Chart Control
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Node Objects

Expanded Node Objects

Nodes, which represent records, are arranged in a hierarchical form in a Tree List control:

Internally, a node is represented by the TreeListNode class. It provides access to the node's data, and allows a number of operations to be performed on the node. Since the Tree List control represents data in a tree-like structure, nodes are stored as nested collections. The collection of root level nodes can be accessed via the TreeList.Nodes property. Each node in the collection has its own child nodes collection available via the TreeListNode.Nodes property. These child nodes have their own children, etc.

In bound mode, nodes are created automatically for every record in the data source. In unbound mode, you need to create nodes manually. Please refer to the Data Binding section to learn more.

Once you've obtained a reference to a specific node, you can access the underlying data via the indexer provided by the TreeListNode class. See Obtaining and Setting Cell Values, for more information, and other methods of accessing node data.

Expanded See Also

Is this topic helpful?​​​​​​​