LogoLogo
HomeNewsSupportVideos
v2.5
v2.5
  • Welcome
  • What's New
  • Releases
  • Concepts
  • Themes
  • Extensions
  • Wisej.Web
    • General
      • Application
        • Application.FormCollection
        • Application.PageCollection
        • HashChangedEventArgs
        • HashChangedEventHandler
        • LicenseErrorEventArgs
        • LicenseErrorEventHandler
        • ResponsiveProfileChangedEventArgs
        • ResponsiveProfileChangedEventHandler
      • Clipboard
      • Component
      • Control
        • Control.ControlCollection
        • ControlEventArgs
        • ControlEventHandler
        • DragEventArgs
        • DragEventHandler
        • HelpEventArgs
        • HelpEventHandler
        • KeyEventArgs
        • KeyEventHandler
        • KeyPressEventArgs
        • KeyPressEventHandler
        • LayoutEventArgs
        • LayoutEventHandler
        • MouseEventArgs
        • MouseEventHandler
        • PaintEventArgs
        • PaintEventHandler
        • PinchEventArgs
        • PinchEventHandler
        • PreviewKeyDownEventArgs
        • PreviewKeyDownEventHandler
        • QueryContinueDragEventArgs
        • QueryContinueDragEventHandler
        • ResponsiveProfileChangedEventArgs
        • ResponsiveProfileChangedEventHandler
        • RotateEventArgs
        • RotateEventHandler
        • SwipeEventArgs
        • SwipeEventHandler
        • TouchEventArgs
        • TouchEventHandler
        • TrackEventArgs
        • TrackEventHandler
        • WidgetEventArgs
        • WidgetEventHandler
      • Cursor
      • Cursors
      • DataObject
      • Padding
      • Screen
    • Buttons
      • Button
        • MenuButtonItemClickedEventArgs
        • MenuButtonItemClickedEventHandler
      • ButtonBase
      • CheckBox
      • RadioButton
      • SplitButton
    • Common Dialogs
      • ColorDialog
      • CommonDialog
      • FileDialog
      • FileDialogLoadPathEventArgs
      • FileDialogLoadPathEventHandler
      • FileDialogRootCollection
      • FileDialogUI
      • FolderBrowserDialog
      • FolderBrowserDialogUI
      • OpenFileDialog
      • SaveFileDialog
    • Containers
      • Accordion
        • AccordionAction
        • AccordionCancelEventArgs
        • AccordionCancelEventHandler
        • AccordionEventArgs
        • AccordionEventHandler
        • AccordionPanel
      • ContainerControl
        • AcceleratorEventArgs
        • AcceleratorEventHandler
      • DataRepeater
        • DataRepeaterAddRemoveItemsCancelEventArgs
        • DataRepeaterAddRemoveItemsCancelEventHandler
        • DataRepeaterAddRemoveItemsEventArgs
        • DataRepeaterAddRemoveItemsEventHandler
        • DataRepeaterDataErrorEventArgs
        • DataRepeaterDataErrorEventHandler
        • DataRepeaterItem
        • DataRepeaterItemCloneEventHandler
        • DataRepeaterItemEventArgs
        • DataRepeaterItemEventHandler
        • DataRepeaterItemValueEventArgs
        • DataRepeaterItemValueEventHandler
        • DataRepeaterLayoutStyles
      • Desktop
        • DesktopTaskBarItem
        • DesktopTaskBarItemClickEventArgs
        • DesktopTaskBarItemClickEventHandler
        • DesktopTaskBarItemCollection
        • DesktopTaskBarItemControl
        • DesktopTaskBarItemDateTime
      • FlexLayoutPanel
        • FlexLayoutStyle
      • FlowLayoutPanel
        • FlowDirection
      • Form
        • CloseReason
        • FormBorderStyle
        • FormClosedEventArgs
        • FormClosedEventHandler
        • FormClosingEventArgs
        • FormClosingEventHandler
        • FormStartPosition
        • FormWindowState
        • MdiClient
        • MdiTabProperties
      • GroupBox
      • Page
      • Panel
      • ScrollableControl
        • ScrollEventArgs
        • ScrollEventHandler
      • SlideBar
      • SplitContainer
        • FixedPanel
        • SplitterCancelEventArgs
        • SplitterCancelEventHandler
        • SplitterEventArgs
        • SplitterEventHandler
        • SplitterPanel
      • StatusBar
        • StatusBarControl
        • StatusBarPanel
        • StatusBarPanelAutoSize
        • StatusBarPanelBorderStyle
        • StatusBarPanelClickEventArgs
        • StatusBarPanelClickEventHandler
      • TabControl
        • TabAlignment
        • TabControlAction
        • TabControlCancelEventArgs
        • TabControlCancelEventHandler
        • TabControlEventArgs
        • TabControlEventHandler
        • TabPage
        • TabSizeMode
      • TableLayoutPanel
        • ColumnStyle
        • RowStyle
        • TableLayoutColumnStyleCollection
        • TableLayoutPanelGrowStyle
        • TableLayoutRowStyleCollection
        • TableLayoutSettings
        • TableLayoutStyle
        • TableLayoutStyleCollection
      • ToolBar
        • ToolBar.ToolBarButtonCollection
        • ToolBarButton
        • ToolBarButtonClickEventArgs
        • ToolBarButtonClickEventHandler
        • ToolBarButtonSizeMode
        • ToolBarButtonStyle
        • ToolBarTextAlign
      • UserControl
      • UserPopup
    • Content
      • AspNetPanel
      • Canvas
      • HtmlPanel
        • HtmlPanelElementClickArgs
        • HtmlPanelElementClickHandler
      • IFramePanel
      • ImageList
        • ImageList.ImageCollection
      • Label
      • Line
      • LinkLabel
        • LinkArea
        • LinkLabelLinkClickedEventArgs
        • LinkLabelLinkClickedEventHandler
      • PdfViewer
      • PictureBox
      • ProgressBar
      • ScrollBar
        • HScrollBar
        • HScrollProperties
        • ScrollEventArgs
        • ScrollEventHandler
        • ScrollProperties
        • VScrollBar
        • VScrollProperties
      • Shape
      • Spacer
      • Upload
        • CaptureMode
        • UploadedEventArgs
        • UploadedEventHandler
        • UploadErrorEventArgs
        • UploadErrorEventHandler
        • UploadErrorType
        • UploadingEventArgs
        • UploadingEventHandler
        • UploadProgressEventArgs
        • UploadProgressEventHandler
      • WebBrowser
        • WebBrowserDocumentCompletedEventArgs
        • WebBrowserDocumentCompletedEventHandler
      • Widget
        • WebRequestEventArgs
        • WebRequestHandler
    • Data Binding
      • Binding
      • BindingCompleteContext
      • BindingCompleteEventArgs
      • BindingCompleteEventHandler
      • BindingCompleteState
      • BindingContext
      • BindingManagerBase
      • BindingManagerDataErrorEventArgs
      • BindingManagerDataErrorEventHandler
      • BindingMemberInfo
      • BindingNavigator
      • BindingsCollection
      • BindingSource
      • ControlBindingsCollection
      • ControlUpdateMode
      • ConvertEventArgs
      • ConvertEventHandler
      • CurrencyManager
      • DataSourceUpdateMode
      • IBindableComponent
      • ICurrencyManagerProvider
      • ItemChangedEventArgs
      • ItemChangedEventHandler
      • ListBindingConverter
      • ListBindingHelper
      • PropertyManager
    • Editors
      • CharacterCasing
      • ComponentTool
      • ComponentToolCollection
      • DateTimePicker
      • DomainUpDown
      • InputType
      • LabelWrapper
      • MaskedTextBox
      • MonthCalendar
        • DateRangeEventArgs
        • DateRangeEventHandler
        • SelectionRange
      • NumericUpDown
      • TagTextBox
        • TagTextBoxEventArgs
        • TagTextBoxEventHandler
        • TagTextBoxMousEventArgs
        • TagTextBoxMousEventHandler
        • TagTextBoxRenderEventArgs
        • TagTextBoxRenderEventHandler
      • TextBox
      • TextBoxBase
      • TextBoxMode
      • TextBoxType
      • TimeUpDown
        • TimeUpDownFormat
      • TrackBar
      • UpDownBase
    • Enumerations
      • AccessibleRole
      • AnchorStyles
      • Appearance
      • AutoComplete
      • AutoCompleteMode
      • AutoScaleMode
      • AutoSizeMode
      • AutoValidate
      • BorderStyle
      • BoundsSpecified
      • CheckState
      • ColorDepth
      • ComboBoxStyle
      • ControlStyles
      • DataFormats
      • DataFormats.Format
      • DateTimePickerFormat
      • Day
      • DialogResult
      • Display
      • DockStyle
      • DragAction
      • DragDropEffects
      • GetChildAtPointSkip
      • HeaderPosition
      • HorizontalAlignment
      • ImageLayout
      • ImagePosition
      • ImeMode
      • Keys
      • LabelPosition
      • LeftRightAlignment
      • LineStyle
      • LinkBehavior
      • MaskFormat
      • MouseButtons
      • ObjectFit
      • Orientation
      • PanelAutoShowMode
      • PictureBoxSizeMode
      • Placement
      • PlacementMode
      • Position
      • RightToLeft
      • ScrollBars
      • ScrollEventType
      • ScrollOrientation
      • SelectionMode
      • Shortcut
      • SizeType
      • SortOrder
      • TabOrderManagerDirection
      • TextDataFormat
      • TextImageRelation
      • TickStyle
      • ValidationConstraints
      • VerticalAlignment
    • Extenders
      • Animation
        • AnimationEventArgs
        • AnimationEventHandler
      • ErrorAnimationType
      • ErrorBlinkStyle
      • ErrorIconAlignment
      • ErrorProvider
      • HelpTip
      • JavaScript
      • Rotation
      • StyleSheet
      • TabOrderManager
      • ToolTip
      • ToolTipIcon
    • Interfaces
      • IButtonControl
      • IContainerControl
      • IDataObject
    • Lists & Grids
      • CheckedListBox
        • ItemCheckEventArgs
        • ItemCheckEventHandler
      • ComboBox
      • DataGridView
        • BaseCollection
        • DataGridView.HitTestInfo
        • DataGridView.HitTestType
        • DataGridViewAutoSizeColumnMode
        • DataGridViewAutoSizeColumnsMode
        • DataGridViewAutoSizeRowMode
        • DataGridViewAutoSizeRowsMode
        • DataGridViewBand
        • DataGridViewBindingCompleteEventArgs
        • DataGridViewBindingCompleteEventHandler
        • DataGridViewButtonCell
        • DataGridViewButtonColumn
        • DataGridViewCell
        • DataGridViewCellBorderStyle
        • DataGridViewCellCancelEventArgs
        • DataGridViewCellCancelEventHandler
        • DataGridViewCellCollection
        • DataGridViewCellContextMenuNeededEventArgs
        • DataGridViewCellContextMenuNeededEventHandler
        • DataGridViewCellErrorTextNeededEventArgs
        • DataGridViewCellErrorTextNeededEventHandler
        • DataGridViewCellEventArgs
        • DataGridViewCellEventHandler
        • DataGridViewCellFormattingEventArgs
        • DataGridViewCellFormattingEventHandler
        • DataGridViewCellMouseEventArgs
        • DataGridViewCellMouseEventHandler
        • DataGridViewCellPaintEventArgs
        • DataGridViewCellPaintEventHandler
        • DataGridViewCellParsingEventArgs
        • DataGridViewCellParsingEventHandler
        • DataGridViewCellStateChangedEventArgs
        • DataGridViewCellStateChangedEventHandler
        • DataGridViewCellStyle
        • DataGridViewCellStyleContentChangedEventArgs
        • DataGridViewCellStyleContentChangedEventHandler
        • DataGridViewCellStyleScopes
        • DataGridViewCellToolTipTextNeededEventArgs
        • DataGridViewCellToolTipTextNeededEventHandler
        • DataGridViewCellValidatingEventArgs
        • DataGridViewCellValidatingEventHandler
        • DataGridViewCellValueEventArgs
        • DataGridViewCellValueEventHandler
        • DataGridViewCheckBoxCell
        • DataGridViewCheckBoxColumn
        • DataGridViewChildRowCollection
        • DataGridViewClipboardCopyMode
        • DataGridViewCollectionChangeEventArgs
        • DataGridViewColumn
        • DataGridViewColumnCollection
        • DataGridViewColumnEventArgs
        • DataGridViewColumnEventHandler
        • DataGridViewColumnHeaderCell
        • DataGridViewColumnHeadersHeightSizeMode
        • DataGridViewColumnSortMode
        • DataGridViewColumnsSortMode
        • DataGridViewColumnStateChangedEventArgs
        • DataGridViewColumnStateChangedEventHandler
        • DataGridViewComboBoxCell
        • DataGridViewComboBoxColumn
        • DataGridViewComboBoxEditingControl
        • DataGridViewContentAlignment
        • DataGridViewDataErrorEventArgs
        • DataGridViewDataErrorEventHandler
        • DataGridViewDataReadEventHandler
        • DataGridViewDataUpdatedEventArgs
        • DataGridViewDataUpdatedEventHandler
        • DataGridViewDateTimePickerCell
        • DataGridViewDateTimePickerColumn
        • DataGridViewDateTimePickerEditingControl
        • DataGridViewEditingControlShowingEventArgs
        • DataGridViewEditingControlShowingEventHandler
        • DataGridViewEditMode
        • DataGridViewElement
        • DataGridViewElementStates
        • DataGridViewHeaderCell
        • DataGridViewImageCell
        • DataGridViewImageCellLayout
        • DataGridViewImageColumn
        • DataGridViewLinkCell
        • DataGridViewLinkColumn
        • DataGridViewMaskedTextBoxCell
        • DataGridViewMaskedTextBoxColumn
        • DataGridViewMaskedTextBoxEditingControl
        • DataGridViewNumericUpDownCell
        • DataGridViewNumericUpDownColumn
        • DataGridViewNumericUpDownEditingControl
        • DataGridViewRow
        • DataGridViewRowCancelEventArgs
        • DataGridViewRowCancelEventHandler
        • DataGridViewRowCollection
        • DataGridViewRowErrorTextNeededEventArgs
        • DataGridViewRowErrorTextNeededEventHandler
        • DataGridViewRowEventArgs
        • DataGridViewRowEventHandler
        • DataGridViewRowHeaderCell
        • DataGridViewRowHeadersWidthSizeMode
        • DataGridViewRowHeightInfoNeededEventArgs
        • DataGridViewRowHeightInfoNeededEventHandler
        • DataGridViewRowsAddedEventArgs
        • DataGridViewRowsAddedEventHandler
        • DataGridViewRowsRemovedEventArgs
        • DataGridViewRowsRemovedEventHandler
        • DataGridViewRowStateChangedEventArgs
        • DataGridViewRowStateChangedEventHandler
        • DataGridViewSelectedCellCollection
        • DataGridViewSelectedColumnCollection
        • DataGridViewSelectedRowCollection
        • DataGridViewSelectionMode
        • DataGridViewSortCompareEventArgs
        • DataGridViewSortCompareEventHandler
        • DataGridViewSortSelectionMode
        • DataGridViewTextBoxCell
        • DataGridViewTextBoxColumn
        • DataGridViewTextBoxEditingControl
        • DataGridViewToolClickEventHandler
        • DataGridViewTriState
        • IDataGridViewEditingControl
        • InputType
        • ScrollEventArgs
        • ScrollEventHandler
        • TextBoxMode
        • TextBoxType
      • ListBox
      • ListControl
        • ListControlConvertEventArgs
        • ListControlConvertEventHandler
      • ListView
        • CacheVirtualItemsEventArgs
        • CacheVirtualItemsEventHandler
        • ColumnClickEventArgs
        • ColumnClickEventHandler
        • ColumnHeader
        • ColumnHeaderAutoResizeStyle
        • ColumnHeaderStyle
        • ColumnReorderedEventArgs
        • ColumnReorderedEventHandler
        • ColumnWidthChangedEventArgs
        • ColumnWidthChangedEventHandler
        • GridLineStyle
        • ImageColumnHeader
        • ItemCheckedEventArgs
        • ItemCheckedEventHandler
        • ItemClickEventArgs
        • ItemClickEventHandler
        • ItemMouseHoverEventArgs
        • ItemMouseHoverEventHandler
        • ItemSelectionChangedEventArgs
        • ItemSelectionChangedEventHandler
        • LabelEditEventArgs
        • LabelEditEventHandler
        • ListView.CheckedIndexCollection
        • ListView.CheckedListViewItemCollection
        • ListView.ColumnHeaderCollection
        • ListView.ListViewItemCollection
        • ListView.SelectedIndexCollection
        • ListView.SelectedListViewItemCollection
        • ListViewBindingCompleteEventArgs
        • ListViewBindingCompleteEventEventHandler
        • ListViewDataUpdatedEventArgs
        • ListViewDataUpdatedEventHandler
        • ListViewItem
        • ListViewItem.ListViewSubItem
        • ListViewItem.ListViewSubItemCollection
        • ListViewItemDragEventArgs
        • ListViewItemDragEventHandler
        • ListViewItemStates
        • ListViewVirtualItemsSelectionRangeChangedEventArgs
        • ListViewVirtualItemsSelectionRangeChangedEventHandler
        • RetrieveVirtualItemEventArgs
        • RetrieveVirtualItemEventHandler
        • SearchForVirtualItemEventArgs
        • SearchForVirtualItemEventHandler
        • View
      • ListViewComboBox
      • PropertyGrid
        • GridItem
        • GridItemCollection
        • GridItemType
        • PropertySort
        • PropertyValueChangedEventArgs
        • PropertyValueChangedEventHandler
        • PropertyValueDataErrorEventArgs
        • PropertyValueDataErrorEventHandler
        • PropertyValueFormattingEventArgs
        • PropertyValueFormattingEventHandler
        • SelectedGridItemBeginEditEventArgs
        • SelectedGridItemBeginEditEventHandler
        • SelectedGridItemChangedEventArgs
        • SelectedGridItemChangedEventHandler
        • SelectedGridItemEndEditEventArgs
        • SelectedGridItemEndEditEventHandler
      • TreeView
        • ItemDragEventArgs
        • ItemDragEventHandler
        • NodeLabelEditEventArgs
        • NodeLabelEditEventHandler
        • TreeNode
        • TreeNodeCollection
        • TreeNodeMouseClickEventArgs
        • TreeNodeMouseClickEventHandler
        • TreeNodeMouseHoverEventArgs
        • TreeNodeMouseHoverEventHandler
        • TreeViewAction
        • TreeViewCancelEventArgs
        • TreeViewCancelEventHandler
        • TreeViewEventArgs
        • TreeViewEventHandler
        • TreeViewNodeDragEventArgs
        • TreeViewNodeDragEventHandler
      • TreeViewComboBox
      • UserComboBox
    • Media
      • Audio
      • FlashPlayer
      • Media
      • Video
    • Menus
      • CheckedMenuItem
      • ContextMenu
      • LinkMenuItem
      • MainMenu
      • Menu
      • Menu.MenuItemCollection
      • MenuBar
      • MenuItem
      • MenuItemEventArgs
      • MenuItemEventHandler
      • MenuItemSizeMode
      • MenuMerge
    • Notifications
      • AlertBox
        • MessageBoxIcon
      • MessageBox
        • MessageBoxButtons
        • MessageBoxDefaultButton
        • MessageBoxIcon
      • Toast
    • Other Components
      • Timer
  • Wisej.Base
    • General
      • Component
      • Cookie
      • CookieCollection
      • PostbackPropertyAttribute
      • TextUtils
    • Responsive
      • ResponsiveProfile
      • ResponsiveProfileCollection
      • ResponsivePropertyAttribute
  • Wisej.Core
    • General
      • BrowserStorage
      • ClientBrowser
      • ClientProfile
      • ClientTheme
      • CookieStorage
      • FileSystemProvider
      • HealthCheck
      • IEventFilter
      • IFileSystemProvider
      • LocalStorage
      • MimeTypes
      • SessionStorage
      • SynchronizedLinkedList<T>
      • SynchronizedList<T>
      • WebMethodAttribute
      • WisejEventArgs
        • WisejEventArgs.KeyboardInfo
        • WisejEventArgs.PointerInfo
      • WisejResourcesAttribute
      • WisejSerializer
      • WisejSerializerOptions
    • Interfaces
      • IWisejComponent
      • IWisejControl
      • IWisejDataStore
      • IWisejEditorService
      • IWisejExtenderProvider
      • IWisejHandler
      • IWisejSerializable
      • IWisejWindow
  • Wisej.Web.VisualBasic
    • Extensions
      • Interaction
      • MsgBoxResult
      • MsgBoxStyle
  • System
    • Extensions
      • DateTimeExtensions
      • FontExtensions
      • JSON
      • StringExtensions
Powered by GitBook
On this page
  • Constructors
  • TreeNode()
  • TreeNode(text)
  • TreeNode(text, children)
  • TreeNode(text, imageIndex, selectedImageIndex)
  • TreeNode(text, imageIndex, selectedImageIndex, children)
  • Properties
  • AllowHtml
  • BackColor
  • CheckBox
  • Checked
  • CheckState
  • ContextMenu
  • Enabled
  • FirstNode
  • ForeColor
  • FullPath
  • HideNodeImage
  • ImageIndex
  • ImageKey
  • ImageList
  • Index
  • IsEditing
  • IsEnabled
  • IsExpanded
  • IsParent
  • IsSelected
  • LastNode
  • LazyLoading
  • Level
  • Name
  • NextNode
  • NextVisibleNode
  • NodeFont
  • Nodes
  • OpenedImageIndex
  • OpenedImageKey
  • Parent
  • PrevNode
  • PrevVisibleNode
  • SelectedImageIndex
  • SelectedImageKey
  • ShowLoader
  • StateImageIndex
  • StateImageKey
  • Tag
  • Text
  • ToolTipText
  • TreeView
  • Visible
  • Methods
  • BeginEdit()
  • Clone()
  • Collapse()
  • Collapse(ignoreChildren)
  • CollapseAll()
  • EndEdit(cancel)
  • EnsureVisible()
  • Expand()
  • ExpandAll()
  • FromHandle(tree, handle)
  • GetNodeCount(includeSubTrees)
  • Remove()
  • Toggle()
  • Update()
  • Events
  • AfterCheck
  • AfterCollapse
  • AfterExpand
  • AfterLabelEdit
  • AfterSelect
  • BeforeCheck
  • BeforeCollapse
  • BeforeExpand
  • BeforeLabelEdit
  • BeforeSelect
  • ItemDrag
  • NodeDrag
  • NodeMouseClick
  • NodeMouseDoubleClick
  • NodeMouseHover
  • NodeMouseLeave
  • Implements

Was this helpful?

Export as PDF
  1. Wisej.Web
  2. Lists & Grids
  3. TreeView

TreeNode

Wisej.Web.TreeNode

Last updated 2 years ago

Was this helpful?

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents a node of a .

public class TreeNode : Component, ICloneable, IHasPropertyStore
Public Class TreeNode
    Inherits Component
    Implements ICloneable, IHasPropertyStore

Constructors

TreeNode()

Initializes a new instance of the class.

TreeNode(text)

Initializes a new instance of the class with the specified label text.

Name
Type
Description

text

TreeNode(text, children)

Initializes a new instance of the class with the specified label text and child tree nodes.

Name
Type
Description

text

children

Name
Type
Description

text

imageIndex

selectedImageIndex

Name
Type
Description

text

imageIndex

selectedImageIndex

children

Properties

Throws:

Setting this property to true when the node doesn't have any children, will cause the node to expand anyway and request the child nodes from the server.

Throws:

Throws:

Throws:

When AllowHtml is set to true, the text can contain HTML content. If the text contains new lines (CRLF) but doesn't contain HTML elements (at least one "<") all CRLF are automatically substituted with " ".

Methods

Initiates the editing of the tree node label.

Throws:

Copies the tree node and the entire subtree rooted at this tree node.

Collapses the tree node.

Collapses the tree node and optionally collapses its children.

Parameter
Type
Description

ignoreChildren

true to leave the child nodes in their current state; false to collapse the child nodes.

Collapses the tree node and all its children.

Cancels the editing of the tree node label.

Parameter
Type
Description

cancel

True to discard the edited value.

Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary.

Expands the tree node.

Expands all the child tree nodes.

Parameter
Type
Description

tree

handle

Returns the number of child tree nodes.

Parameter
Type
Description

includeSubTrees

true if the resulting count includes all tree nodes indirectly rooted at this tree node; otherwise, false.

Removes the current tree node from the tree view control.

Toggles the tree node to either the expanded or collapsed state.

Updates the component on the client. Overridden to repaint the tree view in design mode.

Events

Implements

Name
Description

All wisej components implement this interface.

Allows an object to serialize itself.

The label of the new tree node.

The label of the new tree node.

An array of child objects.

TreeNode(text, imageIndex, selectedImageIndex)

Initializes a new instance of the class with the specified label text and images to display when the tree node is in a selected and unselected state.

The label of the new tree node.

The index value of to display when the tree node is unselected.

The index value of to display when the tree node is selected.

TreeNode(text, imageIndex, selectedImageIndex, children)

Initializes a new instance of the class with the specified label text, child tree nodes, and images to display when the tree node is in a selected and unselected state.

The label of the new tree node.

The index value of to display when the tree node is unselected.

The index value of to display when the tree node is selected.

An array of child objects.

AllowHtml

: Returns or sets a value indicating that the tree node can display HTML in the Text property.

BackColor

: Returns or sets the background color of the tree node.

CheckBox

: Returns or sets whether a checkbox is displayed next to the tree node.

Checked

: Returns or sets whether the tree node is in a checked state.

CheckState

: Returns or sets the checked state of the tree node.

ContextMenu

: Returns the shortcut menu that is associated with this tree node.

Enabled

: Returns or sets whether the tree node is in enabled.

FirstNode

: Returns the first child tree node in the tree node collection.

ForeColor

: Returns or sets the foreground color of the tree node.

FullPath

: Returns the path from the root tree node to the current tree node.

HideNodeImage

: Returns or sets a valid indicating whether the node image next to the tree node is hidden.

ImageIndex

: Returns or sets the image list index value of the image displayed when the tree node is in the unselected state.

The specified index is less than -1.

ImageKey

: Returns or sets the key for the image associated with this tree node when the node is in an unselected state.

ImageList

: Returns the that contains the images displayed in the .

Index

: Returns the position of the tree node in the tree node collection.

IsEditing

: Returns a value indicating whether the tree node is in an editable state.

IsEnabled

: Returns or sets whether the tree node is enabled.

IsExpanded

: Returns a value indicating whether the tree node is in the expanded state.

IsParent

: Returns or sets whether the tree node is a parent node and can be expanded.

IsSelected

: Returns a value indicating whether the tree node is in the selected state.

LastNode

: Returns the last child tree node.

LazyLoading

: Returns or sets whether child nodes are sent to the client the first time this node is expanded.

This option sends less data to the client and speeds up the creation of tree nodes with many child nodes. It can be used in conjunction with the property .

Level

: Returns the zero-based depth of the tree node in the control.

Name

: Returns or sets the name of the tree node.

NextNode

: Returns the next sibling tree node.

NextVisibleNode

: Returns the next visible tree node.

NodeFont

: Returns or sets the font that is used to display the text on the tree node label.

Nodes

: Returns the collection of tree nodes assigned to the current tree node.

OpenedImageIndex

: Returns or sets the index of the image that is used when the tree node is expanded.

The specified index is less than -1.

OpenedImageKey

: Returns or sets the key of the image that is used when the tree node is expanded.

Parent

: Returns the parent tree node of the current tree node.

PrevNode

: Returns the previous sibling tree node.

PrevVisibleNode

: Returns the previous visible tree node.

SelectedImageIndex

: Returns or sets the image list index value of the image that is displayed when the tree node is in the selected state.

The specified index is less than -1.

SelectedImageKey

: Returns or sets the key of the image displayed in the tree node when it is in a selected state.

ShowLoader

: Returns or sets whether the tree node shows the node-loader image when it is expanding but it doesn't have any child nodes.

StateImageIndex

: Returns or sets the index of the image that is used to indicate the state of the tree node when the parent has its property set to false.

The specified index is less than -1.

StateImageKey

: Returns or sets the key of the image that is used to indicate the state of the tree node when the parent has its property set to false.

Tag

: Returns or sets the object that contains data about the tree node.

Text

: Returns or sets the text displayed in the label of the tree node.

ToolTipText

: Returns or sets the text that appears when the mouse pointer hovers over a tree node.

TreeView

: Returns the parent .

Visible

: Returns or sets whether the tree node is visible.

BeginEdit()

is set to false.

Clone()

Returns: . The that represents the cloned .

Collapse()

Collapse(ignoreChildren)

CollapseAll()

EndEdit(cancel)

EnsureVisible()

Expand()

ExpandAll()

FromHandle(tree, handle)

Returns the with the specified handle and assigned to the specified control.

The that contains the .

The handle of the .

Returns: . The assigned to the with the specified handle.

GetNodeCount(includeSubTrees)

Returns: . The number of child tree nodes assigned to the collection.

Remove()

Toggle()

Update()

AfterCheck

Occurs after the tree node check box is checked.

AfterCollapse

Occurs after the tree node is collapsed.

AfterExpand

Occurs after the tree node is expanded.

AfterLabelEdit

Occurs after the tree node label text is edited.

AfterSelect

Occurs after the tree node is selected.

BeforeCheck

Occurs before the tree node check box is checked.

BeforeCollapse

Occurs before the tree node is collapsed.

BeforeExpand

Occurs before the tree node is expanded.

BeforeLabelEdit

Occurs before the tree node label text is edited.

BeforeSelect

Occurs before the tree node is selected.

ItemDrag

Deprecated: This event is deprecated. Use NodeDrag instead. Fired when the user begins dragging a .

NodeDrag

Fired when the user begins dragging a .

NodeMouseClick

Fired when the user clicks a with the mouse.

NodeMouseDoubleClick

Fired when the user double-clicks a with the mouse.

NodeMouseHover

Fired when the mouse hovers over a .

NodeMouseLeave

Fired when the mouse leaves the .

TreeNode
TreeNode
Boolean
Color
Nullable<Boolean>
Boolean
CheckState
ContextMenu
Boolean
TreeNode
Color
String
Nullable<Boolean>
Int32
ArgumentOutOfRangeException
String
Int32
Boolean
Boolean
Boolean
Boolean
Boolean
TreeNode
Boolean
Int32
TreeView
String
TreeNode
TreeNode
Font
TreeNodeCollection
Int32
ArgumentOutOfRangeException
String
TreeNode
TreeNode
TreeNode
Int32
ArgumentOutOfRangeException
String
Boolean
ArgumentOutOfRangeException
Object
String
String
TreeView
TreeView
Boolean
Object
Object
TreeNode
TreeViewEventHandler
TreeViewEventHandler
TreeViewEventHandler
NodeLabelEditEventHandler
TreeViewEventHandler
TreeViewCancelEventHandler
TreeViewCancelEventHandler
TreeViewCancelEventHandler
NodeLabelEditEventHandler
TreeViewCancelEventHandler
TreeViewNodeDragEventHandler
TreeNode
TreeNodeMouseClickEventHandler
TreeNode
TreeNodeMouseClickEventHandler
TreeNode
TreeNodeMouseHoverEventHandler
TreeNode
TreeNodeMouseHoverEventHandler
TreeNode
ImageList
TreeNode
ImageList
ShowLoader
TreeNode
TreeView
TreeNode
TreeNode
TreeView
Int32
Nodes
String
String
TreeNode[]
TreeNode
String
Int32
Image
Int32
Image
String
Int32
Image
Int32
Image
TreeNode[]
TreeNode
Boolean
Boolean
TreeView
IntPtr
TreeNode
Boolean
IWisejComponent
IWisejSerializable
Text
Text
Text
Text
TreeNode
TreeView
Component
TreeNode
TreeView
TreeNode
TreeNode
TreeNode
Int32
TreeView
String
TreeView
InvalidOperationException
ItemDragEventHandler
TreeNode
CheckBoxes
CheckBoxes
LabelEdit