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

Desert?

3 Answers 93 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 15 May 2008, 02:59 AM
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?

David

3 Answers, 1 is accepted

Sort by
0
Angel
Telerik team
answered on 15 May 2008, 09:39 AM
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.
 

Greetings,

Angel

the Telerik team


Instantly find answers to your questions at the new Telerik Support Center
0
Seth
Top achievements
Rank 1
answered on 16 May 2008, 03:32 PM
What about all the other possible themes that are listed?  How do we get ahold of those?
0
Peter
Telerik team
answered on 17 May 2008, 01:24 PM
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,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Themes and Visual Style Builder
Asked by
David
Top achievements
Rank 1
Answers by
Angel
Telerik team
Seth
Top achievements
Rank 1
Peter
Telerik team
Share this question
or