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

Adjusting the space inbetween nodes & childnodes

3 Answers 38 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
dharma krovvidi
Top achievements
Rank 1
dharma krovvidi asked on 22 Apr 2010, 08:11 AM
Hi
I am using the radtreeview in one of my project application,I want to adjust the size inbetween nodes instead of using default space between the nodes and child nodes. Can anybody suugest a solution for this.

Regards
Dharma

3 Answers, 1 is accepted

Sort by
0
Accepted
Kiril Stanoev
Telerik team
answered on 27 Apr 2010, 11:40 AM
Hi Dharma,

It depends whether your treeview is defined in xaml or it is bound to a data source. If it is defined in XAML you can easily increase the spaces between the nodes by setting a Margin within the header of the tree view item. If your treeview is bound, then you have to set the Margin within the DataTemplate of the item. I've attached a sample project demonstrating both approaches. Please have a look at it and let me know how it works for you. If you have additional questions or comments do not hesitate to contact us.

Kind regards,
Kiril Stanoev
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
dharma krovvidi
Top achievements
Rank 1
answered on 28 Apr 2010, 01:06 PM
Hi  Stanoev

Thanks for  your response, i solved the issue by adjusting the minheight value of radtreeview items in the radtreeview style. And i checked ur sample code too.Once again Thank U...

Regards,
Dharma
0
Tina Stancheva
Telerik team
answered on 29 Apr 2010, 05:00 PM
Hello dharma krovvidi,

We are glad we were able to help.

Please let us know if you need more info.

Best wishes,
Tina Stancheva
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.
Tags
TreeView
Asked by
dharma krovvidi
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
dharma krovvidi
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or