title: How to get at ResourceDictionary style when it is loaded from external xap and assemblies are MEF-fed?
body: <p>I've got the following setup:</p>
  
  <p>The main application loads a XAP with an IPlugin implementation. The Plugin contains a 'DisplayPanel' that contains a referenced Control with other controls. The DisplayPanel here is simply a container control to show referenced Control. </p>
  
  <p>This referenced Control, from an assembly, uses a Style from a ResourceDictionary xaml in this assembly. At least that's what I want to have. The problem is that the referenced Control throws an error: </p>
  
  <blockquote>
    <p>Cannot find a Resource with the Name/Key PlayerPanelGrad [Line: 1500
    Position: 127] </p>
  </blockquote>
  
  <p>I've tried to get at the style by referencing theResourceDictionary through a Merged Resource dictionary reference:</p>
  
  <pre><code>       &lt;ResourceDictionary&gt;
          &lt;ResourceDictionary.MergedDictionaries&gt;
              &lt;ResourceDictionary Source="TableControls;component/ControlsStyle.xaml"/&gt;
          &lt;/ResourceDictionary.MergedDictionaries&gt;
      &lt;/ResourceDictionary&gt;
  </code></pre>
  
  <p>But that doesn't work.</p>
  
  <p>How would you approch this?</p>