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

Themes from Radcolordialog

6 Answers 55 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Divya
Top achievements
Rank 1
Divya asked on 27 Apr 2011, 06:20 AM
Hi,
             I hav used RadColorDialog ,on the click of a button i will show this radcolordialog and from it i select a color.Now i want the selected color to add to the themeslist so that  i can use that color has my   theme to be applied to my application .How can i do this .....


Thanks
Divya

         

6 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 02 May 2011, 09:21 AM
Hello Divya,

Thank you for writing.

I am not quite sure that I understand your requirement. Could you please try paraphrasing your requirement so I can provide you with adequate support?

If you are trying to set the color which you have previously selected in RadColorDialog to override the theme color, please consider the following help articles:

I am looking forward to your reply.

Best wishes,
Stefan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Divya
Top achievements
Rank 1
answered on 02 May 2011, 10:03 AM
Hi,
         Yes as u understood ,i want the selected color from the radcolordialog to be applied to my entire application
how can i do this....


earlier like if i want office colors i was writing this

ThemeResolutionService

 

 

.ApplyThemeToControlTree(this, "Office2007Silver"); so that silver color was applied to my entire application


in the same way when i select a color from radcolordialog that color shld be applied



Thanks
Divya


 

0
Stefan
Telerik team
answered on 05 May 2011, 08:05 AM
Hi Divya,

Thank you for writing.

Themes and colors are different things. Themes are complex property settings to all our controls and when you apply one of the predefined themes, the entire application gets the look and feel defined in the theme. This is why you can not select a color in the color dialog and expect it to be applied to the application.

However, there is a possibility, where you set a certain theme and you can change its base color using the ColorBlending mechanism. Please refer to this help article, which demonstrates how can you use this mechanism.

I hope that this will work for you. Should you have any other questions, do not hesitate to contact us.
 
All the best,
Stefan
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
0
Divya
Top achievements
Rank 1
answered on 06 May 2011, 11:23 AM
Hi

          Wt u explained me i understand but for every each color i cant create separate  themes na ............so please can u post me a sample how to override colorblending concept


Thanks
Divya
0
Divya
Top achievements
Rank 1
answered on 10 May 2011, 05:45 AM
Hi,
                 If possible can u post me the code regarding colorblending concept  r send me  a sample ....



Thanks
Divya
0
Stefan
Telerik team
answered on 10 May 2011, 04:47 PM
Hi Divya,

Thank you for writing back.

The color blending takes a specified color from the current theme and changes it to another specified color. For example, take the silver color of the Office2007Silver theme and change it to orange. Please refer to the attached video. 

As far as I understand, this is exactly what you want - to change the main color of a theme. Otherwise, if you want to change other color as well, you have to edit the theme(s) and change them accordingly.

Let me know if this works for you and whether I understood your requirement correctly.

All the best,
Stefan
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Tags
Themes and Visual Style Builder
Asked by
Divya
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Divya
Top achievements
Rank 1
Share this question
or