Log In
[Expand]General Information
[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]Property 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 Presentation
    [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]Office File API
[Expand]Report and Dashboard 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 represent records and are arranged in a hierarchical form in a Tree List control:

Internally, the TreeListNode class represents a node. It provides access to the node's data and allows performing various operations on the node. Since the Tree List control represents data in a tree-like structure, nodes are stored as nested collections. The root level node collection 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 the bound mode, nodes are created automatically for every record in the data source. In the unbound mode, you need to create nodes manually. Refer to the Data Binding section for more information.

Once you have obtained a reference to a specific node, you can access the underlying data via the indexer the TreeListNode class provides. See Obtaining and Setting Cell Values for more information.

Enabling the TreeListOptionsView.ShowCheckBoxes property allows you to display check boxes that allow end users to select them. See the TreeListOptionsView.ShowCheckBoxes for an example.

Expanded See Also

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