title: Adding a Merged Dictionary to a Merged Dictionary
body: <p>I can't seem to be able to add a merged dictionary to a collection of merged dictionaries within XAML.</p>
  
  <p><strong>Theme.xaml</strong>
  </p>
  
  <pre><code>&lt;ResourceDictionary.MergedDictionaries&gt;
      &lt;ResourceDictionary Source="/Mine;component/Themes/Palette.Blue.xaml"/&gt;
      &lt;ResourceDictionary Source="/Mine;component/Themes/Template.xaml"/&gt;
  &lt;/ResourceDictionary.MergedDictionaries&gt;
  </code></pre>
  
  <p></p>
  
  <p><strong>Application Resources</strong></p>
  
  <pre><code>&lt;Application.Resources&gt;
      &lt;ResourceDictionary&gt;
          &lt;ResourceDictionary.MergedDictionaries&gt;
              &lt;ResourceDictionary Source="/Mine;component/Themes/Theme.xaml"/&gt; 
              &lt;!--
              &lt;ResourceDictionary Source=="/Mine;component/Themes/Palette.Blue.xaml"/&gt;
              &lt;ResourceDictionary Source="/Mine;component/Themes/Template.xaml"/&gt;
              --&gt;
          &lt;/ResourceDictionary.MergedDictionaries&gt;
      &lt;/ResourceDictionary&gt;
  &lt;/Application.Resources&gt;
  </code></pre>
  
  <p>Note: if I put both ResourceDictionaries in the Appication.Resources MergedDictionary (comment out the theme.xaml and uncomment the other two dictionaries) they both load correctly. However, the way our resources are defined, this may mean that quite a few resources will be loaded, and for dynamic loading I'd like to be able to define templates.</p>