There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?

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?

file attachments

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

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.

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.

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.

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.

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.

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