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

RadTreeView BackColor

1 Answer 132 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Filipe Rodrigues
Top achievements
Rank 1
Filipe Rodrigues asked on 23 May 2007, 11:50 AM
Hi.
I can't change the radtreeview's backcolor...it's color is allaways equal to the backcolor of it's container. Is this a bug? Or I'm doing anything wrong?
Thanks.

1 Answer, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 23 May 2007, 08:45 PM
Hello Filipe Rodrigues,

RadTreeView supports a gradient background which you could control using properties like:
BackColor, BackColor2, BackColor3, BackColor4, NumberOfColors, GradientPercentage, GradientPercentage2.
These properties are exposed in RadTreeViewElement, not in RadTreeView.

To enable that gradient backGround you should set the DrawFill property of RadTreeViewElement to TRUE. For example:

radTreeView.TreeViewElement.DrawFill = true

If you need further assistance feel free to write me back.
 

Regards,
Ray
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Treeview
Asked by
Filipe Rodrigues
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Share this question
or