4 posts, 0 answers
  1. David
    David avatar
    8 posts
    Member since:
    May 2008

    Posted 14 May 2008 Link to this post

    Ok, so I have the trial for the Q1 2008 Winforms and I would like to test out the desert theme...actually...any theme would be nice.

    I create a new radform, set the theme to Desert and in the designer it looks great. I run it...everything goes back to plain.

    If I choose other themes most of them don't even change from the default. The few that do still don't show anything at runtime.

    What am I missing?

  2. Angel
    Angel avatar
    121 posts

    Posted 15 May 2008 Link to this post

    Hi David,

    Thank you for your question.

    Here are some quick guidelines on how to set a theme:

    1. In order to use the Desert or Aqua themes you must drag the DesertTheme or AquaTheme components to the form. Do not delete these components after being added - they must be there.
    2. Add the component to the form, in our case RadForm.
    3. Set its ThemeName to "Desert" - this will change RadForm to be with the "Desert" theme.
    4. Make sure that the EnableTheming property is set to true to allow theming (this is the default value).
    5. Run the project.

    If, for some reason, you still do not get the theme to apply, I will need to review your demo project to check what is wrong. Just start a new support ticket and attach it there.



    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft R3 2016 release webinar banner
  4. Seth
    Seth avatar
    90 posts
    Member since:
    Jun 2007

    Posted 16 May 2008 Link to this post

    What about all the other possible themes that are listed?  How do we get ahold of those?
  5. Peter
    Peter avatar
    1148 posts

    Posted 17 May 2008 Link to this post

    Hi Seth,

    Indeed, there is a difference between the Desert and Aqua themes mentioned previously and the rest of the themes. The difference comes from the fact that these two themes are the newest ones in the suite and they support the new theming mechanism. They are represented as components - one DLL file that embeds many XML theme files. For example the Desert theme is a DLL file and its xml files are located in RadControls\RadControlsThemes.Desert. We will port the older themes to the new mechanism in our next major release. 

    To add the older themes to your application by getting them as XML files. Usually the files are located in the source solution folders RadControls\RadControlsUI\Resources. For example, RadForm's themes are located in RadControls\RadControlsUI\Resources\FormThemes\. More information on Themes you can find in the Themes and Styles section in the documentation.

    You could take a look at the following KB article which will give you more information about theme files and adding custom themes.

    I believe this will help you. You can write me back if I could be of further help.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top