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

How to change RadComboBox Theme to VistaTheme in Silverlight 4

2 Answers 138 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
riste bakreski
Top achievements
Rank 1
riste bakreski asked on 27 Apr 2010, 12:53 AM
Hi,
Can you please explain how can i change a theme for a radcombobox in SL4 from Office to Vista?
I was reading the other threads for this topic, tried few examples such as ComboBoxTheme.zip, but had no luck whatsoever.
Im not sure if all those examples are specific for SL3 or they can be applied to SP4 as well.
Any help is appreciated, i've wasted too many hours on this already.
Thanks,

2 Answers, 1 is accepted

Sort by
0
Accepted
Valeri Hristov
Telerik team
answered on 27 Apr 2010, 07:45 AM
Hi,

First, make sure you are using the Silverlight 4 version of the Telerik assemblies (the version number should end with 1040). Then you need to add a reference to the Telerik.Windows.Themes.Vista.dll in your application and use the following XAML:

<telerik:RadComboBox telerik:StyleManager.Theme="Vista" ... />

where telerik is:

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"



Sincerely yours,
Valeri Hristov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
riste bakreski
Top achievements
Rank 1
answered on 27 Apr 2010, 08:42 PM
Thanks Valeri,
You are right, I wasnt referencing SL4 dlls.
Tags
ComboBox
Asked by
riste bakreski
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
riste bakreski
Top achievements
Rank 1
Share this question
or