RadControls for WinForms

All themes that come with Telerik WinForms controls since version Q2 2008 are available as standalone components, apart from the controls' assemblies. This improvement has been added in order to simplify the way themes are added to the application and to improve the application’s loading time.

If you have installed the suite from the provided installation files, you will see the themes loaded in the Visual Studio toolbox. If you do not see the themes in the toolbox, you will have to add them manually to the toolbox.

In order to use the Theme components, just drag and drop them from the VS Toolbox to the form. This will add a reference to the corresponding theme assembly in the project and will enable the theme in the ThemeName drop-down of all Telerik controls on the form. All you have to do afterward is set the needed theme from the ThemeName drop-down or programmatically.

 

Setting a default theme for a whole application programatically

 

Before using the following code snippets, please make sure that you have added the desired theme DLL file to your project references.

Copy[C#] Setting a default theme for the entire application
Office2007SilverTheme theme = new Office2007SilverTheme();
theme.DeserializeTheme();
ThemeResolutionService.ApplicationThemeName = "Office2007Silver";
Copy[VB.NET] Setting a default theme for the entire application
Dim theme As New Office2007SilverTheme
theme.DeserializeTheme()
ThemeResolutionService.ApplicationThemeName = "Office2007Silver"