Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [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
    [Collapse]Nodes
      Node Objects
      Node Structure
      Using the Nodes Iterator
      Custom Nodes
    [Expand]Data Editing
    [Expand]Data Representation
    [Expand]Sorting
    [Expand]Filtering
    [Expand]Summaries
    [Expand]Appearances and Look And Feel
    [Expand]Focus, Selection and Navigation
     Formatting Cell Values
    [Expand]Miscellaneous
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End User Capabilities
   [Expand]Member Tables
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [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]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[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

How would you rate this topic?​​​​​​​