RadTreeView ThemeNames

2 posts, 0 answers
  1. BrzozAle
    BrzozAle avatar
    9 posts
    Member since:
    May 2007

    Posted 22 Jun 2007 Link to this post

    Hi,I have a problem with ThemeNames in TreeView.
    I put RadTreeView on form, set ThemeName = "Telerik" and BackColor = Color.Red for example.
    In design time my tree view is refreshed and background is gradient, but when i build solution and run, background in my treeview is always the same - light gray.
    When I set ThemName "Office2007Black" and BackColor for example on blue, in design time I have something diffrent than after run.
    Is it bug, or I do something wrong?
    Olek
  2. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 22 Jun 2007 Link to this post

    Hello BrzozAle,
     
    When you set the background color of a RadControl it is persisted properly, but inside it (like in the RadTreeView) you have a gradient fill element. So basically what you see is a fill element without a theme, and the red color is invisible because the control is rendered under the fill element.

     
    Regards,
    Dimitar Kapitanov
    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