In order to get the Style changing correctly of RadWindow used as MainWindow you would need to merge the following Style each time the theme is switched:
Or alternately you could set the Style property of the MainWindow the follow way:
This way the MainWindow will be receiving the correct Style once the theme is switched.
Hope this helps.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.