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

2 posts, 0 answers
  1. Will
    Will avatar
    4 posts
    Member since:
    Apr 2008

    Posted 26 Jul 2013 Link to this post

    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!

  2. Anton
    Admin
    Anton avatar
    167 posts

    Posted 31 Jul 2013 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top