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

Set a default theme to be used in the design view

6 Answers 741 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pavel
Top achievements
Rank 1
Pavel asked on 29 Sep 2016, 01:41 PM

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?

6 Answers, 1 is accepted

Sort by
0
Christine
Top achievements
Rank 1
answered on 29 Sep 2016, 09:22 PM
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.
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 03 Oct 2016, 11:08 AM
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.
0
Myoungsu
Top achievements
Rank 1
answered on 10 Jan 2017, 01:01 AM
I want to change theme in form load function under a few condition.

Is there any function like "Apply currnet form's theme to controls."?

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 10 Jan 2017, 06:41 AM
Hello Myoungsu,

Thank you for writing.  

In order to apply a theme to all controls at , you can use the ThemeResolutionService.ApplicationThemeName property. Please refer to the following help article which is quite useful on this topic: http://docs.telerik.com/devtools/winforms/themes/using-a-default-theme-for-the-entire-application

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

Regards,
Dess
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Swaroop
Top achievements
Rank 1
Veteran
answered on 16 Oct 2020, 08:44 AM
The link you have pasted is broken. Please check it.
0
Nadya | Tech Support Engineer
Telerik team
answered on 16 Oct 2020, 08:53 AM

Hello, Swaroop,

Please refer to the correct link of the referred documentation article: https://docs.telerik.com/devtools/winforms/styling-and-appearance/using-a-default-theme-for-the-entire-application 

I hope this information is useful. Should you have other questions do not hesitate to contact us.

Regards,
Nadya
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
General Discussions
Asked by
Pavel
Top achievements
Rank 1
Answers by
Christine
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Myoungsu
Top achievements
Rank 1
Swaroop
Top achievements
Rank 1
Veteran
Nadya | Tech Support Engineer
Telerik team
Share this question
or