Click here to Skip to main content
15,909,656 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can I use Windows Forms controls in a WPF application? plz give me a solution..
Posted

1 solution

Yes. The Windows Forms control can be used in WPF application with the help of System.Windows.Forms.Integration.WindowsFormsHost.
Please see the following articles which explain how to use this.
WPF Tutorial - Using WinForms In WPF
[^]
Walkthrough: Hosting a Windows Forms Control in WPF[^]
Walkthrough: Hosting a Windows Forms Control in WPF by Using XAML[^]
 
Share this answer
 
Comments
Maciej Los 11-May-12 2:26am    
Good answer (links), my 5!
VJ Reddy 11-May-12 3:22am    
Thank you, losmac.

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