title: How to load a WPF resource dictionary at design-time
body: <p>I have a WPF window in which some properties are defined as dynamic resources like this:</p>
  
  <pre><code>&lt;Window x:Class="LocSample.MainWindow"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          MinHeight="350" MinWidth="525"
          Title="{DynamicResource ResourceKey=ResId_Title}"
          FlowDirection="{DynamicResource ResId_FlowDirection_Default}" &gt;
      &lt;Grid&gt;
         &lt;Label Content="{DynamicResource ResId_FirstName}" /&gt;  
      &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>The <code>ResourceDictionary</code> is loaded at runtime to reflect the language choice of the user. And to enable the user to switch the language on the fly.</p>
  
  <p>This works fine at runtime, but at design-time, the resource-defined properties are not shown. It is clear to me that the designer can't show them, because they are not defined at design-time.</p>
  
  <p>I need a way to load a default <code>ResourceDictionary</code> at design-time so that the designer can show anything.</p>