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
  • Properties
  • Count
  • IsReadOnly
  • Item(index)
  • Item(key)
  • Methods
  • Add(text)
  • Add(key, text)
  • Add(key, text, imageIndex)
  • Add(key, text, imageKey)
  • Add(key, text, imageIndex, selectedImageIndex)
  • Add(key, text, imageKey, selectedImageKey)
  • Add(node)
  • AddRange(nodes)
  • Clear()
  • Clear(dispose)
  • Contains(node)
  • ContainsKey(key)
  • CopyTo(dest, index)
  • Find(key, searchAllChildren)
  • GetEnumerator()
  • IndexOf(node)
  • IndexOfKey(key)
  • Insert(index, node)
  • Insert(index, text)
  • Insert(index, key, text)
  • Insert(index, key, text, imageIndex)
  • Insert(index, key, text, imageKey)
  • Insert(index, key, text, imageIndex, selectedImageIndex)
  • Insert(index, key, text, imageKey, selectedImageKey)
  • Remove(node)
  • RemoveAt(index)
  • RemoveByKey(key)
  • Events
  • CollectionChanged

Was this helpful?

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

TreeNodeCollection

Wisej.Web.TreeNodeCollection

Last updated 2 years ago

Was this helpful?

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents a collection of objects.

public class TreeNodeCollection : IList, ICollection, IEnumerable, IList<TreeNode>, ICollection<TreeNode>, IEnumerable<TreeNode>
Public Class TreeNodeCollection
    Inherits IList
    Implements ICollection, IEnumerable, IList(Of TreeNode), ICollection(Of TreeNode), IEnumerable(Of TreeNode)

Properties

Count

: Returns the total number of objects in the collection.

IsReadOnly

: Returns a value indicating whether the collection is read-only.

Item(index)

: Returns or sets the at the specified index in the collection.

Throws:

  • The being assigned is also a parent causing a circular reference.

  • The value is null.

  • The index value is less than 0 or is greater than the number of tree nodes in the collection.

Methods

Parameter
Type
Description

text

Parameter
Type
Description

key

text

Parameter
Type
Description

key

text

imageIndex

Parameter
Type
Description

key

text

imageKey

Parameter
Type
Description

key

text

imageIndex

selectedImageIndex

The index of the image to be displayed in the tree node when it is in a selected state.

Parameter
Type
Description

key

text

imageKey

selectedImageKey

The key of the image to display when the node is in a selected state.

Parameter
Type
Description

node

Throws:

Parameter
Type
Description

nodes

Throws:

Removes all tree nodes from the collection.

Removes and disposes all tree nodes from the collection.

Parameter
Type
Description

dispose

Indicates whether to dispose the tree nodes removed from the collection.

Parameter
Type
Description

node

Parameter
Type
Description

key

Copies the entire collection into an existing array at a specified location within the array.

Parameter
Type
Description

dest

The destination array.

index

The index in the destination array at which storing begins.

Parameter
Type
Description

key

The name of the tree node to search for.

searchAllChildren

true to search child nodes of tree nodes; otherwise, false.

Parameter
Type
Description

node

Parameter
Type
Description

key

The name of the tree node to search for.

Inserts an existing tree node into the tree node collection at the specified location.

Parameter
Type
Description

index

node

Throws:

Parameter
Type
Description

index

text

Creates a tree node with the specified text and key, and inserts it into the collection.

Parameter
Type
Description

index

key

text

Parameter
Type
Description

index

key

text

imageIndex

Parameter
Type
Description

index

key

text

imageKey

Parameter
Type
Description

index

key

text

imageIndex

selectedImageIndex

Parameter
Type
Description

index

key

text

imageKey

selectedImageKey

Parameter
Type
Description

node

Throws:

Removes a tree node from the tree node collection at a specified index.

Parameter
Type
Description

index

Parameter
Type
Description

key

The name of the tree node to remove from the collection.

Events

Item(key)

: Returns the with the specified key from the collection.

Add(text)

Adds a new tree node with the specified label text to the end of the current .

The label text displayed by the .

Returns: . A that represents the tree node being added to the collection.

Add(key, text)

Creates a new with the specified key and text, and adds it to the collection.

The name of the .

The text to display in the .

Returns: . The that was added to the collection.

Add(key, text, imageIndex)

Creates a with the specified key, text, and image, and adds it to the collection.

The name of the .

The text to display in the .

The index of the image to display in the .

Returns: . The that was added to the collection.

Add(key, text, imageKey)

Creates a with the specified key, text, and image, and adds it to the collection.

The name of the .

The text to display in the .

The image to display in the .

Returns: . The that was added to the collection.

Add(key, text, imageIndex, selectedImageIndex)

Creates a with the specified key, text, and images, and adds it to the collection.

The name of the .

The text to display in the .

The index of the image to display in the .

Returns: . The tree node that was added to the collection.

Add(key, text, imageKey, selectedImageKey)

Creates a with the specified key, text, and images, and adds it to the collection.

The name of the .

The text to display in the .

The key of the image to display in the .

Returns: . The that was added to the collection.

Add(node)

Adds a previously created to the end of the .

The to add to the collection.

Returns: . The zero-based index value of the added to the .

node is null.

The node is currently assigned to another or it is a parent node causing a circular reference.

AddRange(nodes)

Adds an array of previously created objects to the collection.

An array of objects representing the tree nodes to add to the collection.

nodes is null or one of the items in the collection is null.

nodes is the child of another .

Clear()

Clear(dispose)

Contains(node)

Determines whether the specified is a member of the collection.

The to locate in the collection.

Returns: . true if the is a member of the collection; otherwise, false.

ContainsKey(key)

Determines whether the collection contains a with the specified key.

The name of the to search for.

Returns: . true to indicate the collection contains a with the specified key; otherwise, false.

CopyTo(dest, index)

Find(key, searchAllChildren)

Finds the objects with specified key, optionally searching sub nodes.

Returns: . An array of objects whose property matches the specified key.

GetEnumerator()

Returns an enumerator that can be used to iterate through the .

Returns: . An that represents the .

IndexOf(node)

Returns the index of the specified in the collection.

The to locate in the collection.

Returns: . The zero-based index of the item found in the tree node collection; otherwise, -1.

IndexOfKey(key)

Returns the index of the first occurrence of a with the specified key.

Returns: . The zero-based index of the first occurrence of a tree node with the specified key, if found; otherwise, -1.

Insert(index, node)

The indexed location within the collection to insert the .

The to insert into the collection.

node is null.

The node is currently assigned to another or it is a parent node causing a circular reference.

Insert(index, text)

Creates a with the specified text and inserts it at the specified index.

The location within the collection to insert the .

The text to display in the .

Returns: . The that was inserted in the collection.

Insert(index, key, text)

The location within the collection to insert the .

The name of the .

The text to display in the .

Returns: . The that was inserted in the collection.

Insert(index, key, text, imageIndex)

Creates a with the specified key, text, and image, and inserts it into the collection at the specified index.

The location within the collection to insert the .

The name of the .

The text to display in the .

The index of the image to display in the .

Returns: . The that was inserted in the collection.

Insert(index, key, text, imageKey)

Creates a with the specified key, text, and image, and inserts it into the collection at the specified index.

The location within the collection to insert the .

The name of the .

The text to display in the .

The key of the image to display in the .

Returns: . The that was inserted in the collection.

Insert(index, key, text, imageIndex, selectedImageIndex)

Creates a with the specified key, text, and images, and inserts it into the collection at the specified index.

The location within the collection to insert the .

The name of the .

The text to display in the .

The index of the image to display in the .

The index of the image to display in the when it is in a selected state.

Returns: . The that was inserted in the collection.

Insert(index, key, text, imageKey, selectedImageKey)

Creates a with the specified key, text, and images, and inserts it into the collection at the specified index.

The location within the collection to insert the .

The name of the .

The text to display in the .

The key of the image to display in the .

The key of the image to display in the when it is in a selected state.

Returns: . The that was inserted in the collection.

Remove(node)

Removes the specified from the .

The to remove.

node is null.

RemoveAt(index)

The index of the to remove.

RemoveByKey(key)

Removes the with the specified key from the collection.

CollectionChanged

Fired when the collection changes.

TreeNode
TreeNode
TreeNodeCollection
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNodeCollection
Int32
TreeNode
TreeNodeCollection
ArgumentNullException
ArgumentException
TreeView
TreeNode
ArgumentNullException
ArgumentException
TreeView
TreeNode
Boolean
TreeNode
TreeNode
Boolean
TreeNode
TreeNode
TreeNodeCollection
IEnumerator<TreeNode>
IEnumerator
TreeNodeCollection
TreeNode
Int32
TreeNode
Int32
ArgumentNullException
ArgumentException
TreeView
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNodeCollection
ArgumentNullException
TreeNode
CollectionChangeEventHandler
String
TreeNode
String
TreeNode
String
TreeNode
String
TreeNode
String
TreeNode
Int32
TreeNode
String
TreeNode
String
TreeNode
String
TreeNode
String
TreeNode
String
TreeNode
Int32
TreeNode
Int32
String
TreeNode
String
TreeNode
String
TreeNode
String
TreeNode
TreeNode
TreeNode[]
TreeNode
Boolean
TreeNode
TreeNode
String
TreeNode
Array
Int32
String
Boolean
TreeNode
TreeNode
String
Int32
TreeNode
TreeNode
TreeNode
Int32
TreeNode
String
TreeNode
Int32
TreeNode
String
TreeNode
String
TreeNode
Int32
TreeNode
String
TreeNode
String
TreeNode
Int32
TreeNode
Int32
TreeNode
String
TreeNode
String
TreeNode
String
TreeNode
Int32
TreeNode
String
TreeNode
String
TreeNode
Int32
TreeNode
Int32
TreeNode
Int32
TreeNode
String
TreeNode
String
TreeNode
String
TreeNode
String
TreeNode
TreeNode
TreeNode
Int32
TreeNode
String
TreeNode
Int32
TreeNode
Boolean
TreeNode
TreeNode
ArgumentException
TreeNode
ArgumentNullException
ArgumentOutOfRangeException
TreeNode[]
TreeNode
Name