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
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Collapse]Site Navigation and Layout
   [Expand]Product Information
   [Expand]Form Layout
   [Expand]Menu
   [Expand]Navigation Bar
   [Expand]Page Control and Tab Control
    Panel Overview
   [Expand]Ribbon
   [Expand]Site Map Control
   [Expand]Splitter
   [Expand]Tag Cloud Control
   [Expand]Title Index
   [Collapse]TreeView
     ASPxTreeView Overview
    [Collapse]Concepts
      Node
     [Expand]Binding to Data
      Expanding and Collapsing Nodes
      Animation Effect
      Selection
      NodeLinkMode
      Check Box Support
      Callbacks
      Templates
    [Expand]Visual Elements
    [Expand]Examples
    [Expand]Member Tables
    [Expand]ASPxTreeView - Animated Images
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [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]Document Server
[Expand]Reporting
[Expand]Report 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 TreeViewNode objects. A node can have its own child nodes collection, available via the TreeViewNode.Nodes property. These child nodes have their own children, etc.

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

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

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

States Server Members Client Members Description
Visible TreeViewNode.Visible ASPxClientTreeViewNode.GetVisible, ASPxClientTreeViewNode.SetVisible Gets or sets a value specifying the current node's visibility.
Enabled TreeViewNode.Enabled ASPxClientTreeViewNode.GetEnabled, ASPxClientTreeViewNode.SetEnabled Gets or sets a value that indicates whether the node is enabled.
Selected ASPxTreeView.SelectedNode ASPxClientTreeView.GetSelectedNode, ASPxClientTreeView.SetSelectedNode Gets or sets the selected node within an ASPxTreeView control.
Checked TreeViewNode.Checked ASPxClientTreeViewNode.GetChecked, ASPxClientTreeViewNode.SetChecked Gets or sets whether the node is checked.
CheckState TreeViewNode.CheckState ASPxClientTreeViewNode.GetCheckState Gets a value that specifies the node check state.
Expanded TreeViewNode.Expanded ASPxClientTreeViewNode.GetExpanded, ASPxClientTreeViewNode.SetExpanded Gets or sets whether the node is expanded.

Expanded Member Table

Expanded Examples

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