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

Change theme of radwindow

1 Answer 115 Views
Window
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 15 Nov 2008, 04:07 PM

What do i need to do to change the the default theme in radwindow to the black one.

1 Answer, 1 is accepted

Sort by
0
Hristo Borisov
Telerik team
answered on 15 Nov 2008, 05:55 PM
Hello Andreas Ekdahl,

You can change the theme of our controls by inserting the following code in the App.xaml.cs file of your application, after you have added a reference to the assembly with the appropriate theme. This code snippet sets the theme to the black one

        private void Application_Startup(object sender, StartupEventArgs e)  
        {  
            //set the name of the assembly you have referenced in your Application  
            Telerik.Windows.Controls.Theme.ApplicationTheme = "Telerik.Windows.Themes.Default_Black";  
 
            this.RootVisual = new Page();  
        } 

Please feel free to contact us for any problem you face.

Regards,
Hristo Borisov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Andreas
Top achievements
Rank 1
Answers by
Hristo Borisov
Telerik team
Share this question
or