This is a migrated thread and some comments may be shown as answers.

How to draw line between parent and child nodes in TreeView using control template?

6 Answers 272 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Alex Tang
Top achievements
Rank 1
Alex Tang asked on 18 Mar 2010, 01:48 AM
I have built a TreeView using control template for TreeViewItem as shown in the attached image "controltemplatetreeview1.jpg".  And I want to draw line between the parent and child nodes as shown in the attached image "controltemplatetreeview2.jpg".  How to implement it?  Thanks!

6 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 23 Mar 2010, 11:52 AM
Hello Alex Tang,

Unfortunately the effect you aim at can't be achieved. If you have further questions please do not hesitate to ask us.

Greetings,
Dimitrina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
syed
Top achievements
Rank 1
answered on 21 Dec 2010, 01:46 PM
Hello,

Is there any solution available for this kind of work. My client really needs to have the lines between the templated nodes.
Any work around will be a great favour.


THANKS

0
syed
Top achievements
Rank 1
answered on 23 Dec 2010, 12:09 PM
Hello All,

I'm still waiting for the solution. Though I see the properties of LineEnabled and other but they do not work in templatedNode. 

Looking forward anxiously,

Thanks
0
Petar Mladenov
Telerik team
answered on 23 Dec 2010, 02:56 PM
Hi Alex Tang,

We are unable to implement the appearance from the snippet in the previous post  (from Alex Tang).
Do you want to achieve the same visual effect?
If you don`t, could you please try to elaborate more on how you want the TreeView to look. It would be nice if you can send us your XAML code. This way we would investigate in depth and provide you with a better advice.
Thank you for your cooperation in advance.

All the best,
Petar Mladenov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
syed
Top achievements
Rank 1
answered on 24 Dec 2010, 07:42 AM
Hi  Petar Mladenov 

Thanks for your response. Attached is the work i want to do and its more or less the same as Alex one. It would be a great help if you can guide me for a way around how can i achieve this. Basically I've an Organizational chart like thing and it should be connected with Arrows. 

Thanks once Again

Regards,
Usman

0
Petar Mladenov
Telerik team
answered on 28 Dec 2010, 05:08 PM
Hello Alex Tang,

Currently, this cannot be achieved using the telerik`s RadTreeView control. Basically, we are planning to develop a RadTreeMap control that will have similar visual appearance but we haven`t scheduled it yet.


Best wishes,
Petar Mladenov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
TreeView
Asked by
Alex Tang
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
syed
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or