34

Closed

Showing connecting lines in TreeView

description

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:http://blogs.msdn.com/delay/archive/2010/04/15/alive-and-kickin-new-silverlight-4-toolkit-released-with-today-s-silverlight-4-rtw.aspx

comments

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.

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.

PBL wrote Jul 1, 2009 at 8:03 AM

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

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.

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.

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.

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