RadTreeView BackColor

2 posts, 0 answers
  1. Filipe Rodrigues
    Filipe Rodrigues avatar
    21 posts
    Member since:
    Oct 2006

    Posted 23 May 2007 Link to this post

    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?
  2. Boyko Markov
    Boyko Markov avatar
    610 posts

    Posted 23 May 2007 Link to this post

    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.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top