C# How to change background of workspace a RadTreeView in the part where there isn´t nodes

113 Views Asked by At

My RadTreeView is Dock Fill in a Panel, when paint the nodes is a part without nodes, that part I have not been able to change color enter image description here

I tried with

RadTV_Menu_Principal.BackColor = SystemColors.Highlight;

and

RadTV_Menu_Principal.RootElement.BackColor = SystemColors.Highlight;

but no change. Help me please.

1

There are 1 best solutions below

0
M. Wiśnicki On BEST ANSWER
Me.RadTreeView1.TreeViewElement.BackColor = Color.White
Me.RadTreeView1.TreeViewElement.GradientStyle = GradientStyles.Solid

Try like this for me work.