title: Mahapps flyout not appearing with and caliburn.micro
body: <p>I'm trying to show a flyout in wpf using mahapps and caliburn.micro, unfortunately the view for the flyout is not being resolved, and all I get is the type name of the view model displayed in the flyout.</p>
  
  <p>I need the to display the flyout based on which is ActiveItem in the shell, for example the company search flyout is different to the contact search flyout.</p>
  
  <p>Any ideas how I can make this work.</p>
  
  <pre class="lang-cs prettyprint-override"><code>public void ShowSearchFlyout()
  {
      var supportsSearch = ActiveItem as ISupportSearch;
      if (supportsSearch != null)
      {
          if (!Flyouts.Contains(supportsSearch.SearchFlyout))
          {
              Flyouts.Add(supportsSearch.SearchFlyout);
          }
          supportsSearch.SearchFlyout.IsOpen = true;
      }
  }
  </code></pre>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;controls:MetroWindow.Flyouts&gt;
      &lt;controls:FlyoutsControl ItemsSource="{Binding Flyouts}"&gt;
          &lt;controls:FlyoutsControl.ItemContainerStyle&gt;
              &lt;Style BasedOn="{StaticResource {x:Type controls:Flyout}}" TargetType="{x:Type controls:Flyout}"&gt;
                  &lt;Setter Property="Header" Value="{Binding Header}"  /&gt;
                  &lt;Setter Property="IsOpen" Value="{Binding IsOpen}" /&gt;
                  &lt;Setter Property="Position" Value="{Binding Position}" /&gt;
              &lt;/Style&gt;
          &lt;/controls:FlyoutsControl.ItemContainerStyle&gt;
      &lt;/controls:FlyoutsControl&gt;
  &lt;/controls:MetroWindow.Flyouts&gt;
  </code></pre>