Table of Contents
  • Getting Started
  • EO.Pdf
  • EO.Web
  • EO.WebBrowser
  • EO.Wpf
  • Common Topics
  • Reference
    • .NET API Reference
      • EO.Base
      • EO.Base.UI
      • EO.Extensions
      • EO.Pdf
      • EO.Pdf.Acm
      • EO.Pdf.Contents
      • EO.Pdf.Drawing
      • EO.Pdf.Mvc
      • EO.Web
        • EO.Web
        • Classes
          • AJAXPostedFile Class
          • AJAXPostedFileList Class
          • AJAXUploader Class
          • AJAXUploaderProgressDialog Class
          • ASPXToPDF Class
          • BaseMenuItem Class
          • BaseMenuItemGroup Class
          • BaseNavigator Class
          • BorderImages Class
          • ButtonColumn Class
          • Calendar Class
          • CalendarDay Class
          • Callback Class
          • CallbackEventArgs Class
          • CallbackPanel Class
          • CallbackTrigger Class
          • CallbackTriggerCollection Class
          • Captcha Class
          • CheckBoxColumn Class
          • ClientTemplate Class
          • ColorPicker Class
          • ComboBox Class
          • Consts Class
          • ContextMenu Class
          • Control Class
          • ControlFrame Class
          • CustomColumn Class
          • CustomItem Class
          • DataBinding Class
          • DataBindingCollection Class
          • DataBoundControl Class
          • DateCollection Class
          • DatePicker Class
          • DateTimeColumn Class
          • DayRenderEventArgs Class
          • DefaultClientTemplateAttribute Class
          • DeleteCommandColumn Class
          • DesignOptions Class
          • Dialog Class
          • Downloader Class
          • DownloadEventArgs Class
          • DynamicDownloadContent Class
          • EditableLabel Class
          • EditCommandColumn Class
          • Editor Class
          • EditorDialogContent Class
          • EditorDialogContentCollection Class
          • EditorDialogTemplate Class
          • EditorDialogTemplateCollection Class
          • EditorStyle Class
          • EditorStyleCollection Class
          • EditorTabButtonStyles Class
          • Effect Class
          • ElementPaddings Class
          • ElementStyle Class
          • Emoticon Class
          • FileExplorer Class
          • FileExplorerEventArgs Class
          • FileExplorerHolder Class
          • Floater Class
          • Flyout Class
          • FontInfo Class
          • Grid Class
          • GridCell Class
          • GridCellCollection Class
          • GridColumn Class
          • GridColumnCollection Class
          • GridColumnEventArgs Class
          • GridCommandEventArgs Class
          • GridItem Class
          • GridItemCollection Class
          • GridItemEventArgs Class
          • GridItemStyleSet Class
          • GridItemStyleSetCollection Class
          • ImageButtonInfo Class
          • ImageInfo Class
          • ImageZoom Class
          • InlineStyle Class
          • ListBox Class
          • ListBoxItem Class
          • ListBoxItemCollection Class
          • ListBoxItemContainer Class
          • ListItemEventArgs Class
          • LookItemCollection Class
          • MaskedEdit Class
          • MaskedEditColumn Class
          • MaskedEditSegment Class
          • MaskedEditSegmentCollection Class
          • MaskedEditValidator Class
          • Menu Class
          • MenuGroup Class
          • MenuItem Class
          • MenuItemCollection Class
          • MenuItemImages Class
          • MenuLookItemCollection Class
          • MsgBox Class
          • MsgBoxButton Class
          • MultiPage Class
          • MultiPageEventArgs Class
          • NavigationItem Class
          • NavigationItemCollection Class
          • NavigationItemEventArgs Class
          • NavigationItemGroup Class
          • NavigationItemImages Class
          • NavigationItemText Class
          • PageContextMenu Class
          • PageView Class
          • PageViewCollection Class
          • PathMapping Class
          • PathMappingCollection Class
          • PopupCalendar Class
          • ProgressBar Class
          • ProgressTaskEventArgs Class
          • RangeSlider Class
          • Rating Class
          • RowNumberColumn Class
          • Runtime Class
          • ScriptEvent Class
          • ScriptManager Class
          • Slide Class
          • SlideItem Class
          • SlideItemCollection Class
          • SlideItemEventArgs Class
          • SlideMenu Class
          • Slider Class
          • SliderBase Class
          • SliderLabel Class
          • SliderLabelCollection Class
          • SpecialLookIDs Class
          • SpellChecker Class
          • SpellCheckerDialog Class
          • SpellCheckerEventArgs Class
          • Splitter Class
          • SplitterPane Class
          • StaticColumn Class
          • TabItem Class
          • TabItemCollection Class
          • TabItemGroup Class
          • TabLookItemCollection Class
          • TabStrip Class
          • TemplatedPopup Class
          • TextBoxColumn Class
          • ToolBar Class
          • ToolBarEventArgs Class
          • ToolBarItem Class
          • ToolBarItemCollection Class
          • ToolTip Class
          • TreeLookNodeCollection Class
          • TreeNode Class
          • TreeNodeCheckStateChangedEventArgs Class
          • TreeNodeCollection Class
          • TreeNodeGroup Class
          • TreeNodeMovedEventArgs Class
          • TreeNodeRenameEventArgs Class
          • TreeView Class
          • TreeViewCheckBoxImages Class
          • TreeViewLineImages Class
          • TreeViewMargin Class
          • WebControl Class
          • WebControlBase Class
        • Structures
        • Enumerations
        • Delegates
      • EO.WebBrowser
      • EO.WebBrowser.DOM
      • EO.WebEngine
      • EO.WinForm
      • EO.Wpf
      • EO.Wpf.Gauge
      • EO.Wpf.Gauge.Shapes
      • EO.Wpf.Primitives
      • EO.Wpf.Themes.Aero
      • EO.Wpf.Themes.Classic
      • EO.Wpf.Themes.Luna
      • EO.Wpf.Themes.Metro
      • EO.Wpf.Themes.Royale
    • JavaScript API Reference
TreeNode Members

The TreeNode class exposes the following members.

Constructors
Name Description
TreeNode(string); Creates an instance of TreeNode.
TreeNode(); Creates an instance of TreeNode.
Properties
Name Description
AllowDrag Gets or sets a value indicating whether user can drag this node.
AllowDrop Gets or sets a value indicating whether user can drop another node on to this node.
AllowEdit Gets or sets a value indicating whether user can edit the tree node text.
AllowRoles (inherited from NavigationItem) Specifies a list of roles that are allowed to access this item.
CausesValidation (inherited from NavigationItem) Gets or sets a value indicating whether clicking this item will cause server side validation to be performed.
Checked Specifies if the TreeNode is checked or unchecked.
CheckState Specifies the value indicating if a tree node is in a Checked, Unchecked or Indeterminate state.
ChildNodes Returns a collection of sub tree nodes.
CollapsedImageUrl Specifies the URL of an image associated with this TreeNode when the tree node is collapsed. The image will be displayed to the left of TreeNode's Text.
CustomItem (inherited from NavigationItem) Returns an ITemplate object that is used to define an embedded custom item on Aspx page for data binding.
CustomItemID (inherited from NavigationItem) Gets or sets the custom item ID.
CustomItemInstance (inherited from NavigationItem) Gets the embedded custom item instance associated with this navigation item.
DataItem (inherited from NavigationItem) Gets the data item that is bound to this item.
Disabled (inherited from NavigationItem) Gets or sets a boolean value indicating whether this item is disabled.
DisabledStyle (inherited from NavigationItem) Gets or sets the style to control item appearance when the item is in "Disabled" state.
Expanded (inherited from NavigationItem) Gets or sets a boolean indicating if the item is expanded.
ExpandedImageUrl Specifies the URL of an image associated with this TreeNode when the tree node is expanded. The image will be displayed to the left of TreeNode's Text.
ExpandedStyle (inherited from NavigationItem) Gets and sets the style to control an item's appearance when the item expands its children items.
Height (inherited from NavigationItem) TGets or sets the item height in pixel.
HoverStyle (inherited from NavigationItem) Gets and sets the style to control an item's appearance when the item is in "Hover" state, that is, when mouse is over the item.
ImageUrl Specifies the URL of an image associated with this TreeNode. The image will be displayed to the left of TreeNode's Text.
Index (inherited from NavigationItem) Gets the index of the item.
IsLeafNode Returns whether this node is a leaf node.
IsLookItem (inherited from NavigationItem) Gets a boolean value indicating if this item is used as a look item.
IsSeparator (inherited from NavigationItem) Gets or sets a boolean value indicating whether this item is a separator.
ItemID (inherited from NavigationItem) Gets or sets the ID for this item.
Level (inherited from NavigationItem) Gets the depth level of the item.
LineImageUrl Specifies the URL used to override the default line image for this tree node.
LookID (inherited from NavigationItem) Gets or sets the ID of the look item.
MarginImageUrl Specifies the URL of an image associated with this TreeNode. The image will be displayed on the left margin of the TreeView whenever the tree node is visible.
NavigateUrl (inherited from NavigationItem) Gets or sets the URL to navigate when the item is clicked.
NormalStyle (inherited from NavigationItem) Gets and sets the style of a item's appearance when the item is in "Normal" state.
OnClickScript (inherited from NavigationItem) Gets or sets the client side JavaScript code to be executed when this item is clicked.
PageViewID (inherited from NavigationItem) Gets or sets the ID of the PageView control to display when this item is selected.
ParentNavigationItem (inherited from NavigationItem) Returns an object representing the parent navigation item.
ParentNode Gets the parent TreeNode that contains this TreeNode.
Path (inherited from NavigationItem) Gets or sets the string of delimited item IDs that form the path from the root item to the current item.
PopulateOnDemand Populates a group of tree nodes only when the parent node is expanded.
RaisesServerEvent (inherited from NavigationItem) Gets or sets a value indicating whether the server side event should be raised when this item is clicked.
Selected (inherited from NavigationItem) Gets or sets a boolean value indicating whether the item is in "Selected" state.
SelectedExpandedStyle (inherited from NavigationItem) Gets and sets the style to control an item's appearance when the item is in both "Selected" and "Expanded" state.
SelectedHoverStyle (inherited from NavigationItem) Gets and sets the style to control an item's appearance when the item is in both "Selected" and "Hover" state.
SelectedStyle (inherited from NavigationItem) Gets and sets the style to control an item's appearance when the item is in "Selected" state.
Shortcut (inherited from NavigationItem) Gets or sets the Shortcut structure that is used to define keyboard shortcut for an item.
ShowCheckBox Gets or sets a value indicating whether or not to display appropriate checkbox when CheckState changes.
Status (inherited from NavigationItem) Gets or sets the text string to be displayed at the browser's status bar when the mouse is positioned over the item.
SubGroup Gets subgroup of a TreeNode.
TargetWindow (inherited from NavigationItem) Gets or sets the target window to display NavigateUrl.
Text Specifies the HTML text of this TreeNode.
TextMargin Specifies the left margin of the text. Use this property to adjust the space left to the Text.
ToolTip (inherited from NavigationItem) Gets or sets the tooltip string to be displayed when the mouse is positioned over the item.
Value (inherited from NavigationItem) Gets or sets the value of the item.
Visible (inherited from NavigationItem) Gets or sets a value indicating whether this item is visible.
Width (inherited from NavigationItem) Gets or sets the item width in pixel.
Methods
Name Description
EnsureVisible Scrolls the TreeView so that this node is visible.
Equals (inherited from Object) 
ExpandAll Expands this node and all child nodes.
ExpandPath Expands all the parent nodes of this node.
Finalize (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
MemberwiseClone (inherited from Object) 
ToString (inherited from Object) 
See Also