WPF ElementHost within WinformsI 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.<br/> <br/> -Matt© 2009 Microsoft Corporation. All rights reserved.Mon, 29 Jun 2009 16:17:55 Zc976a3ce-a8cf-4fbe-b39a-ac8cce8bc897http://social.expression.microsoft.com/Forums/en-US/blend/thread/c976a3ce-a8cf-4fbe-b39a-ac8cce8bc897#c976a3ce-a8cf-4fbe-b39a-ac8cce8bc897http://social.expression.microsoft.com/Forums/en-US/blend/thread/c976a3ce-a8cf-4fbe-b39a-ac8cce8bc897#c976a3ce-a8cf-4fbe-b39a-ac8cce8bc897RockwellDesign77http://social.expression.microsoft.com/Profile/en-US/?user=RockwellDesign77WPF ElementHost within WinformsI 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.<br/> <br/> -MattMon, 29 Jun 2009 16:17:55 Z2009-06-29T16:17:55Z