Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Charting
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Collapse]Site Navigation and Layout
   [Expand]FormLayout
   [Expand]Menu
   [Expand]NavBar
   [Expand]Ribbon
   [Expand]PageControl
   [Expand]TabControl
   [Expand]PopupMenu
   [Expand]Splitter
   [Collapse]TreeView
     Overview - TreeView
    [Collapse]Concepts
      Node
     [Expand]Binding to Data
      Expanding and Collapsing Nodes
      Animation Effect
      Selection
      Node Link Mode
      Check Box Support
      Callbacks
      Templates
    [Expand]Visual Elements
   [Expand]Panel
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors Extensions
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Extensions
  [Expand]SpellChecker
  [Expand]Query Builder
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[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]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Node

Nodes correspond to items within the hierarchical data. Nodes are represented by MVCxTreeViewNode objects. A node can have its own child nodes collection available via the MVCxTreeViewNode.Nodes property. These child nodes have their own children, etc.

The parent node for all nodes, displayed within TreeView, is called the root node. This is a special node that isn't displayed. The collection of its child nodes can be accessed via the TreeViewSettings.Nodes property.

The node content can include a check box, an image and a text. The table below lists the main members that affect node content.

A node has a set of properties responsible for a node's state. The tables below list the main properties that specify that state.

States Server Members Description
Visible TreeViewNode.Visible (via MVCxTreeViewNode.Visible) Gets or sets a value specifying the current node's visibility.
Enabled TreeViewNode.Enabled (via MVCxTreeViewNode.Enabled) Gets or sets a value that indicates whether the node is enabled.
Checked TreeViewNode.Checked (via MVCxTreeViewNode.Checked) Gets or sets whether the node is checked.
CheckState TreeViewNode.CheckState (via MVCxTreeViewNode.CheckState) Gets a value that specifies the node check state.
Expanded TreeViewNode.Expanded (via MVCxTreeViewNode.Expanded) Gets or sets whether the node is expanded.

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