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

Themes not applying to windows controls

2 Answers 123 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 16 Mar 2011, 01:40 AM
Hi guys,

I have the latest production version. I'm applying styles with (for example):

Telerik.Windows.Controls.StyleManager.ApplicationTheme = new Telerik.Windows.Controls.Office_SilverTheme();

However this seems to only change my RadGridView. Everything else is default.

If I go into my Telerik installation folder, there's the handy sample project with all the xaml for the themes. I notice that these include styling for standard windows controls, so why doesn't it work?

And as a side issue, how come most of the sample theme xaml files are missing for Office Black?


2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 18 Mar 2011, 12:29 PM
Hello Steven,

 
The Telerik themes are designed to work mainly with our RadControls and only some of the native WPF/Silverlight controls. 
Telerik themes can be applied to the following native WPF controls:

1.System.Windows.Button
2.System.Windows.CheckBox
3.System.Windows.ListBox
4.System.Windows.RadioButton
5.System.Windows.ScrollViewer
6.System.Windows.PasswordBox
7.System.Windows.RepeatButton
8.System.Windows.TextBox


When you set an application theme, it will be applied to all Telerik controls and to the native controls listed above. You may send us a small application in a new support ticket where we can see why this theme is applied only to RadGridView, thus we will be able to provide you with an appropriate solution. On a side note we ship our themes as a separate projects from where you can get the styles for our controls, you may find these in the Themes folder of your personal installation. Furthermore with our Q1 release you may get the xaml files for Office_Black theme, please find attached this folder. 

 

Kind regards,
Vanya Pavlova
the Telerik team
0
Travis
Top achievements
Rank 1
answered on 07 Feb 2012, 12:09 AM
Okay, so how do I get my startupURI window, in WPF, to use one of the Rad themes???
Tags
General Discussions
Asked by
Steven
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Travis
Top achievements
Rank 1
Share this question
or