Set a default theme to be used in the design view

3 posts, 1 answers
  1. Pavel
    Pavel avatar
    13 posts
    Member since:
    Oct 2009

    Posted 29 Sep Link to this post

    I am applying a consistent theme to my app by doing this ThemeResolutionService.ApplicationThemeName = "Office2013Light";

    But, since that happens at run time, my designer still shows a different theme. How can I change the default theme that's being used?

  2. Christine
    Christine avatar
    7 posts
    Member since:
    Jul 2016

    Posted 29 Sep in reply to Pavel Link to this post

    There is no quick solution to this. You have to drag the theme onto the designer and apply the theme to the form. Then can right click on the form and select to apply the theme to all controls. Sometimes it saves it for other forms but sometimes it loses it and you have to drag the theme onto the designer again.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Answer
    Dess
    Admin
    Dess avatar
    1609 posts

    Posted 03 Oct Link to this post

    Hello guys,

    Thank you for writing.  

    Indeed, in order to apply the form's theme to all the controls at design time, you can right-click the form and select the "Apply current form's theme to controls." option. Please refer to the attached screenshot.

    I hope this information helps. Should you have further questions I would be glad to help.

    Regards,
    Dess
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Back to Top