Fazer uma PerguntaFazer uma Pergunta
 

PerguntaWPF ElementHost within Winforms

  • segunda-feira, 29 de junho de 2009 16:17RockwellDesign77 Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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