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

Office 2010 Silver theme

1 Answer 353 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Eugene
Top achievements
Rank 2
Eugene asked on 06 Mar 2014, 06:30 PM
Hello colleagues,

I am developing a themed application where trying support Office 2010 themes. The black and blue themes are drawn without artifacts. But I am stuck with the Silver theme. The form's background color differs from controls contained on the form. How can I set the same background color for the form?

Please see the silver.png screenshot for more information.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 11 Mar 2014, 01:47 PM
Hi Eugene,

Thank you for writing.

If I understand correctly you want to change the form BackColor for the Office2010Silver theme. This can be done by using Visual Style Builder (please refer to the attached image). Please note that the default color is "Control" and I am not sure to what color you want to change it.

Also this can be done in code like this:
this.BackColor = Color.FromKnownColor(KnownColor.ControlLight);

The following articles are very useful when you need to edit the predefined themes with Visual Style Builder:

Let me know if you have additional questions.

Regards,
Dimitar
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

Tags
Themes and Visual Style Builder
Asked by
Eugene
Top achievements
Rank 2
Answers by
Dimitar
Telerik team
Share this question
or