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

How to enable border in the disagner without creating a new theme?

2 Answers 70 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Grigoriy
Top achievements
Rank 1
Grigoriy asked on 08 May 2009, 03:13 PM
Hi,

Is there a way to use RadTreeView control with the same theme in different places with and without the border? Looks like drawing a border around the control is controlled by the theme and creating an extra theme doesn't seem to be reasonable just for this purpose. I found a work around by setting the RadTreeView.TreeViewElement.DrawBorder property to true. But it would be more logical and convinient to make at available in the Designer. Should i submit it as a feature request?

Thanks
Grigoriy

2 Answers, 1 is accepted

Sort by
0
Accepted
Victor
Telerik team
answered on 12 May 2009, 06:45 AM
Hello Grigoriy,

Thank you for writing.
This option is actually available during design time. You can select Edit UI Elements from the smart tag of RadTreeView. There you will see the TreeViewElement on the left and you will be able to set every property in the Property Grid on the right. The property you should use to show/hide treeview's border is RadTreeViewElement.DrawBorder.  You can also access this property runtime in the code (runtime) of your applicaiton.

Please write back if you need further assistance.

All the best,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Grigoriy
Top achievements
Rank 1
answered on 12 May 2009, 07:48 PM
Thanks!
Tags
Treeview
Asked by
Grigoriy
Top achievements
Rank 1
Answers by
Victor
Telerik team
Grigoriy
Top achievements
Rank 1
Share this question
or