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

How can I globally set theme for application (design-time)?

1 Answer 273 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Will
Top achievements
Rank 1
Will asked on 26 Jul 2013, 02:03 PM
How can I globally set theme for application?

I know I can accomplish it in at run-time with the following.

public Form1()

{

     InitializeComponent();

     ThemeResolutionService.ApplicationThemeName = "Aqua";

}

Is there a way to iterate through all the Telerik controls in my application and set the theme or use a style inheritance scheme at design-time?

 

Thanks!

1 Answer, 1 is accepted

Sort by
0
Anton
Telerik team
answered on 31 Jul 2013, 12:55 PM
Hello Will,

Thank you for writing.

The only way to set a theme at an application level is by code as it is explained in this knowledge base article:
http://www.telerik.com/support/kb/winforms/themes/set-the-themename-at-an-application-level.aspx

At design time you can set a theme only to single components, but you cannot set it for the whole application.

Should you have any other questions, I will be glad to assist you.

Regards,
Anton
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Themes and Visual Style Builder
Asked by
Will
Top achievements
Rank 1
Answers by
Anton
Telerik team
Share this question
or