title: Window style not visible in designer
body: <p>I created a Window style (WPF) and added it as a dll to my project
  this style shows corretly when i run the program but doesn't show up in the designer.</p>
  
  <p>I googled already but none of the solutions there are working</p>
  
  <p>Test 1:</p>
  
  <pre><code>// Window //
  Style="{DynamicResource HVE_Window}"
  
  // Window.Resources //
  &lt;ResourceDictionary.MergedDictionaries&gt;
      &lt;ResourceDictionary Source="pack://application:,,,/GlobalHive.Styles;component/HiveWindow.xaml"/&gt;
  &lt;/ResourceDictionary.MergedDictionaries&gt;
  </code></pre>
  
  <p>Result: </p>
  
  <pre><code>Error: 'Window' TargetType doesn not match type of element 'WindowInstance'
  
  -&gt; But it runs and display correctly there
  </code></pre>
  
  <p>Test 2:</p>
  
  <pre><code>// Window //
  Style="{DynamicResource MyWindow}"
  
  // Window.Resources //
  &lt;ResourceDictionary.MergedDictionaries&gt;
      &lt;ResourceDictionary Source="pack://application:,,,/GlobalHive.Styles;component/HiveWindow.xaml"/&gt;
  &lt;/ResourceDictionary.MergedDictionaries&gt;
  
  &lt;Style x:Key="MyWindow" TargetType="{x:Type Window}" BasedOn="{StaticResource HVE_Window}" /&gt;
  </code></pre>
  
  <p>Result: </p>
  
  <pre><code>No Error:
  Still doesn't display in the designer, still shows up if i run the program
  </code></pre>
  
  <p>Test 3:</p>
  
  <pre><code>Both versions but added to application resources
  </code></pre>
  
  <p>How it should look:
  <img src="https://i.imgur.com/nGXyagB.png" alt="running design"></p>
  
  <p>How it looks inside the designer:
  <img src="https://i.imgur.com/DDgVQat.png" alt="designer design"></p>