C# – Add WPF Window in a Winforms Project in VS 2010

cvisual studio 2010winformswpf

Is it possible to access all the WPF Items from a winforms Project when selecting "add new Item" in VS 2010 ? I only have access to WPF userControl by default.

I would like to add a WPF Window to a winforms project. Not just a user control.

EDIT : Short answer : This does not seem to be possible per se, but it is possible to add WPF resources and the necessary references manually.

Best Answer

Apparently you cannot directly, but what you can do is add a new user control and then modify the code to make it a Window. Simply create a new WPF project, add a window and see what you need to change to turn your user control into a window.

Related Topic