var style = System.Xaml.XamlServices.Load("style1.xaml");
var styleTosave = this.FindResource("ResourceKey"); System.Xaml.XamlServices.Save("style1.xaml",styleTosave);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)