title: How do you declare styles in a way where the global style can be overriden?
body: <p>I've got the following scenario</p>
  
  <pre><code>custom control library 
      &lt;Style TargetType="{x:Type local:CustomControl}" x:Key="Default"&gt; ... &lt;/Style&gt;
      &lt;Style TargetType="{x:Type local:CustomControl}" BasedOn="{StaticResource Default}"&gt; ... &lt;/Style&gt;
  application which references custom control library
      &lt;Style TargetType="{x:Type local:CustomControl}" BasedOn="{StaticResource Default}"&gt; ... &lt;/Style&gt;
  </code></pre>
  
  <p>for some reason the styles i am specifying in my app.xaml seem to have no effect. Could it be that the App.xaml is loaded prior to foreign generic.xaml contents? And if so - How does one fix that so global style overrides do work.</p>