This project has moved. For the latest updates, please go here.


Showing connecting lines in TreeView


Is there any plan to provide an option for showing connecting heirarchy lines in a TreeView like in a classical WindowsForm TreeView? Can this be accomplished somehow through modifying the TreeView/TreeViewItem control templates?
Closed Apr 27, 2010 at 10:07 PM by davidans
We've included a sample showing how to do this with TreeView in the April '10 Silverlight 4 Toolkit release. I talk more about where it is and how to use it here:


jmgroft wrote Feb 4, 2009 at 3:00 PM

Yes, this should defintely be added. The display of heirarchy lines has been standard since the inception of the treeview control. Users expect to see it. Certainly, developers should be able to style this and remove the behavior if their design requires it, but the ability to display the lines should be built in. A developer should not have to modify the control template to have this basic functionality.

wrote Feb 12, 2009 at 8:21 PM

wrote Feb 16, 2009 at 12:01 AM

pinidiya wrote Feb 16, 2009 at 12:05 AM

Users expect this to be in WPF applications as well. Lack of this basic element could trigger negative feelings in end users. They question whether it's a failure in framework 2.0 to 3.5 migration process. They simply don't believe it.

shawnoster wrote Feb 16, 2009 at 5:48 PM

This is an interesting issue because like pinidiya mentioned gridlines also aren't available in the WPF TreeView and we'd like Silverlight to be compatible with WPF. Also, most modern OS (Vista, Windows 7, OS X 10.5) have moved away from showing gridlines in TreeViews by default.

Your votes really do help drive features, so please keep voting and pushing these issues to let us know how strong the need is. Thank you.

wrote Feb 16, 2009 at 8:48 PM

wrote Feb 20, 2009 at 7:27 AM

wrote Feb 22, 2009 at 7:37 PM

wrote Apr 15, 2009 at 2:24 PM

wrote Apr 29, 2009 at 1:53 AM

wrote May 7, 2009 at 6:42 AM

wrote May 11, 2009 at 9:17 PM

wrote May 22, 2009 at 7:42 AM

wrote May 24, 2009 at 7:50 PM

wrote Jun 2, 2009 at 7:48 PM

wrote Jun 12, 2009 at 1:17 PM

wrote Jul 1, 2009 at 8:02 AM

PBL wrote Jul 1, 2009 at 8:03 AM

It's odd to get less functionality with a WPF control than with ASP.Net

wrote Jul 22, 2009 at 1:31 AM

wrote Jul 22, 2009 at 7:26 PM

wrote Aug 5, 2009 at 5:39 PM

wrote Aug 10, 2009 at 3:34 PM

wrote Aug 11, 2009 at 12:09 PM

wrote Aug 17, 2009 at 12:09 AM

wrote Aug 24, 2009 at 10:59 AM

wrote Sep 1, 2009 at 6:46 AM

wrote Sep 7, 2009 at 12:24 AM

wrote Sep 10, 2009 at 9:10 AM

adamsmith wrote Sep 18, 2009 at 10:20 AM

I definitely would want this feature in both WPF and Silverlight.

adamsmith wrote Sep 18, 2009 at 10:20 AM

I definitely would want this feature in both WPF and Silverlight.

wrote Sep 18, 2009 at 10:20 AM

wrote Oct 12, 2009 at 11:20 PM

wrote Dec 11, 2009 at 11:55 AM

wrote Jan 28, 2010 at 8:32 AM

JeremyPardoe wrote Feb 9, 2010 at 5:25 PM

This isn't just a matter of taste. Without hierarchy lines, in applications where items of the same type (and icon) can occupy different levels of the hierarchy, it can be very hard line up items visually. Users definitely want this feature!

"This isn't in WPF" isn't a compelling argument. What % of users have ever used a WPF application - and had the chance to complain about the look of the TV.

wrote Feb 9, 2010 at 5:26 PM

Eye wrote Mar 4, 2010 at 2:19 PM

It's easy to see the indentation levels when a node consists of only one line of text. But in WPF or Silverlight the template for a node can show so much more and the connection lines would really improve readability in a complex tree structure.

wrote Apr 8, 2010 at 11:23 AM

wrote Apr 21, 2010 at 10:38 AM

wrote Apr 27, 2010 at 10:07 PM

sathyafeb7 wrote Jun 5, 2012 at 1:23 PM

I work in PLM (Product Lifecycle Management) application. Where we need to see the list of products connected to another in Tree view logically. So i see a definite need. Such as Connection Lines, multiselect, drag-drop

wrote Feb 22, 2013 at 1:54 AM

wrote May 16, 2013 at 12:36 PM