Top "Treenode" questions

The base element of a hierarchical tree-like data structure.

C# - TreeView: inserting node at certain position

How does one insert a new child to a particular node in a TreeView in C# WinForms? I've been clumsily …

c# winforms treeview insert treenode
Is the root node an internal node?

So I've looked around the web and a couple of questions here in stackoverflow here are the definition: Generally, an …

data-structures tree binary-tree nodes treenode
How can I get the current node selected in a TreeView control?

When I use the MouseClick event of a treeview control always the first node in the tree is selected. What …

c# .net winforms treeview treenode
Creating custom TreeView/TreeNode

I need to extend the TreeNode class such that I can add custom properties to each node (seeing as WebForms …

c# asp.net webforms treeview treenode
Get Edited TreeNode from a CellEditorListener

Earlier I asked how to fire an event when a TreeNode was renamed (here). My question was answered, but I …

java swing events rename treenode
Color a node of treeview with different color

I have a treeview with some nodes. Under some condition I want to color each node with different color along …

c# winforms colors treeview treenode
extjs treepanel: expand() & expandChildNodes()

If I write: rootNode.expand() I can only get access to the children nodes of this rootNode, but can't get …

extjs nodes expand treenode treepanel
How to calculate depth of each node in Binary Search Tree?

My task is to calculate depth of each node and store it in 'depth' given in Node class. But I …

java binary-search-tree treenode
C#: How to avoid TreeNode check from happening on a double click event

So I have a TreeView in a C# windows form app. What I need is for some nodes to be "…

c# winforms treeview double-click treenode
Get selected tree node item full path in C# (WinForms)

I have a TreeView component and content of it like this: MainLine + SubLine1 + SUbline2 + Subline3 + Subline4 + Subline5 - Subline6 SublineDetail1 **…

c# treeview selecteditem treenode