How to change RadComboBox Theme to VistaTheme in Silverlight 4

3 posts, 1 answers
  1. riste bakreski
    riste bakreski avatar
    8 posts
    Member since:
    Jul 2008

    Posted 26 Apr 2010 Link to this post

    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. Answer
    Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 27 Apr 2010 Link to this post

    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.
  3. DevCraft banner
  4. riste bakreski
    riste bakreski avatar
    8 posts
    Member since:
    Jul 2008

    Posted 27 Apr 2010 Link to this post

    Thanks Valeri,
    You are right, I wasnt referencing SL4 dlls.
Back to Top