winforms - WPF Form within a Windows Forms project -


i have existing windows forms project.

can create additional wpf/xaml window (a full new window) within such project?

visual studio not offer option, think should possible somehow, @ least via code?

for job must add references win-form projects:

  • presentationcore
  • presentationframework
  • windowsbase
  • system.xaml

help link

and host wpf windows in winform or win32 apps need line before .show() wpf window:

system.windows.forms.integration.elementhost.enablemodelesskeyboardinterop(mywpfwindow); 

see http://msdn.microsoft.com/en-us/library/aa348549.aspx

helpful link: mixing wpf , winforms


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -