Change theme of radwindow

2 posts, 0 answers
  1. Andii
    Andii avatar
    17 posts
    Member since:
    Nov 2006

    Posted 15 Nov 2008 Link to this post

    What do i need to do to change the the default theme in radwindow to the black one.
  2. Hristo Borisov
    Hristo Borisov avatar
    298 posts

    Posted 15 Nov 2008 Link to this post

    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.

    Hristo Borisov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top