title: Is it possible to have skins in xaml outside the sourcecode? (change xaml without recompile)
body: <p>I have a wpf application with different skins in xaml like this:</p>
  <pre><code>    &lt;Application.Resources&gt;
      &lt;ResourceDictionary&gt;
          &lt;ResourceDictionary.MergedDictionaries&gt;
              &lt;skins:SkinResourceDictionary ExpressRetailSource=&quot;Skins/ExpressRetailColors.xaml&quot;
                                            Lager157Source=&quot;Skins/Lager157Colors.xaml&quot; /&gt;
              &lt;skins:SkinResourceDictionary ExpressRetailSource=&quot;Skins/ExpressRetailImages.xaml&quot;
                                            Lager157Source=&quot;Skins/Lager157Images.xaml&quot; /&gt;
              &lt;skins:SkinResourceDictionary ExpressRetailSource=&quot;Skins/ExpressRetailStyles.xaml&quot;
                                            Lager157Source=&quot;Skins/Lager157Styles.xaml&quot; /&gt;
          &lt;/ResourceDictionary.MergedDictionaries&gt;
      &lt;/ResourceDictionary&gt;
  &lt;/Application.Resources&gt;
  </code></pre>
  <p>This is in the app.xml file - and in my config file i pick a skin like this,</p>
  <pre><code>        public App()
      {
          ExpressConfiguration.CopyConfigToProgramData();
          var skinConfig = ExpressConfiguration.GetParamValue(&quot;Skin&quot;, &quot;ExpressRetail&quot;);
          switch (skinConfig.ToLower())
          {
              case &quot;expressretail&quot;:
              {
                  Skin = Skin.ExpressRetail;
                  break;
              }
              case &quot;lager157&quot;:
              {
                  Skin = Skin.Lager157;
                  break;
              }
          }
      }
  
      public static Skin Skin { get; set; }
  </code></pre>
  <p>Any way, i can offcourse change skin in the config file without recompile but my goal is to be able to change the three files: ..colors.xaml, ...Images.xaml and ...styles.xaml without recompile the project. In my solution it look like this:</p>
  <p><a href="https://i.stack.imgur.com/6tIXJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6tIXJ.png" alt="Xaml solution files" /></a></p>
  <p>I want them as content files, and be able to copie to the output somewhere so they can be change without recompilation. Ex -&gt;</p>
  <pre><code>&lt;Border x:Name=&quot;border&quot; CornerRadius=&quot;15&quot; Background=&quot;White&quot; BorderBrush=&quot;Black&quot; 
  BorderThickness=&quot;2&quot; &gt;
  </code></pre>
  <p>change CornerRadius to 0 if i dont want any corners on my buttons !</p>