Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I use WPF in my windows application program? :doh:
Posted
Updated 2-Feb-10 9:06am

By starting again and creating it as a WPF application. You can host windows forms controls in WPF, but I don't believe it's easy to do the opposite, you need to start with WPF.
 
Share this answer
 
Alternatively, you can use the ElementHost[^]-class to host a WPF-element in a WinForm application.

There's more information on MSDN here[^] that might be interesting if you're going to integrate it into an existing application.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900