Expression > 論壇首頁 > Expression Blend + SketchFlow > WPF ElementHost within Winforms
發問發問
 

問題WPF ElementHost within Winforms

  • Monday, 29 June, 2009 16:17RockwellDesign77 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I have somewhat of a unique issue. I am using multiple WPF elementHosts within a Winforms application. When the elementHost is used directly within a form, it works just fine. My problem is that I have a winforms user control that I am trying to have host a WPF elementHost within it, and for whatever reason my application is crashing at runtime. Are you allowed to user a elementhost within a winforms user control, or only within a winforms form? Thanks for the help in advance.

    -Matt