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

RadTreeListView Changing a theme

0 Answers 46 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Test
Top achievements
Rank 1
Test asked on 25 Apr 2012, 12:06 AM
Hello,

how can I change a theme of a RadTreeListView? 
I have tried by setting it in the XAML with telerik:StyleManager.Theme="Windows7"
or in code behind StyleManager.SetTheme(radTreeListView, new Windows7Theme());
but my theme does not changes. I get the default office black theme. However i can see the control theme changed in the XAML designer in VS but when I run the project in the browser I get office black.
I have tried with  StyleManager.ApplicationTheme = new Windows7Theme(); but then I get an exception
Error HRESULT E_FAIL has been returned from a call to a COM component.

I am using Silverlight 5 and I have a Cosmopolitan theme set up in my application.
I have referenced Telerik.Windows.Controls, Telerik.Windows.Controls.GridView, Telerik.Windows.Controls.Input, 
Telerik.Windows.Controls.Navigation, Telerik.Windows.Data, Telerik.Windows.Themes.Windows7.

No answers yet. Maybe you can help?

Tags
TreeListView
Asked by
Test
Top achievements
Rank 1
Share this question
or