title: Add a WPF UserControl to a TaskPane
body: <p>I am developing an addin to Microsoft Outlook.</p>
  
  <p>The following code works fine if I use an winforms UserControl:</p>
  
  <pre><code>private void ThisAddIn_Startup(object sender, System.EventArgs e)
  {            
      var testControlView1 = new UserControl1();
      var MyCustomPane = this.CustomTaskPanes.Add(testControlView, "Hello");
  }
  </code></pre>
  
  <p>How can I do it with a WPF UserControl, instead? Does anybody know how I would achieve similar functionality?</p>
  
  <p>As far as I can tell the CustomTaskPanes only allow Winforms Controls to be added to it.</p>