Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / treeview

Treeview

treeview

Great Reads

by B. Verboven
Convert a generic list of (recursive) objects into a simple hierarchical TreeList
by B. Verboven
This is an alternative for "A simple generic TreeList".
by Peter Sun (247)
Demonstrate how to create WPF TrewView with multiple levels of HierarchicalDataTemplate from C# code-behind without XAML using MVVM for data binding
by Dirk Bahle
Tips & Tricks on loading and saving WPF Tree View based content.

Latest Articles

by B. Verboven
Convert a generic list of (recursive) objects into a simple hierarchical TreeList
by B. Verboven
This is an alternative for "A simple generic TreeList".
by Peter Sun (247)
Demonstrate how to create WPF TrewView with multiple levels of HierarchicalDataTemplate from C# code-behind without XAML using MVVM for data binding
by Dirk Bahle
Tips & Tricks on loading and saving WPF Tree View based content.

All Articles

Sort by Score

treeview 

by B. Verboven
Convert a generic list of (recursive) objects into a simple hierarchical TreeList
by B. Verboven
This is an alternative for "A simple generic TreeList".
by Peter Sun (247)
Demonstrate how to create WPF TrewView with multiple levels of HierarchicalDataTemplate from C# code-behind without XAML using MVVM for data binding
by TheCoolCoder
Numbering for Multilevel ASP.Net Treeview using CSS Counters
by Fiyaz Hasan
Building a parent child hierarchy TreeView
by Midi_Mick
Extension methods to get the index or key of the image currently displayed in the node of a Windows.Forms.TreeView control
by Amey K Bhatkar
How to create TreeView in MVC
by Sunasara Imdadhusen
Load page in IFRAME based on TreeView node selection without postback.
by intrueder
Extension method to make it easy to retrieve all nodes of a TreeView control.
by Richard Deeming
You can make this slightly more reusable by targeting the IEnumerable interface and providing a function to return the children of each item:public static class EnumerableExtensions{ private static IEnumerable DescendantsAndSelfIterator( IEnumerable source, ...
by leppie
Here is yet another alternative (originally from http://xacc.wordpress.com/2009/03/05/tree-traversal-extension-methods/[^]):public static class TreeExtensions{ public static IEnumerable TraverseDepthFirst( this T t, Func valueselect, Func<T,...
by springy76
By using a LinkedList, you can even mimic true recursive behavior without using recursive calls; the order will be "0,3,9,10,4,1,5,11,12,2,6,7,8", then:public static IEnumerable GetRecursive(this IEnumerable source, Func> subSelector){ var...
by Vano Maisuradze
Select only one node in Treeview
by Sagotharan Jagadeeswaran
Thanks, I am just changing False to True, And I got Automatically Check TreeView Child Nodes When Parent Is Checked.private void treeView1_AfterCheck(object sender, TreeViewEventArgs e) { if (e.Node.Checked) { ...
by linush
How to serialize a kendo treeview current view into JSON data
by Style-7
How to create Tree View Control by HTML5 only.
by Er. Puneet Goel
This tip implements the TreeView like DropDownList with Search Functionality using Telerik Kendo.
by Vyacheslav Chernykh
CTreeView is the advanced TreeView control for .NET WinForms that supports more features, different layouts and any controls in the nodes.