title: Putting a WPF UserControl on the TaskPane of an Excel2007 Addin
body: <p>I am making a Excel Addin in VS2010.</p>
  
  <p>The following code work fines if I make a 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>However I would like to make my UserControl1 be a WPF UserControl. Does anybody know how I would achieve similar functionality or an alternate approach? </p>
  
  <p>As far as I can tell the CustomTaskPanes only allows Winforms Controls to be added to it.</p>