Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mixing WPF with a WinForm application?

Tags:

winforms

wpf

My fairly large WinForm application needs a GUI overhaul, but I can't afford to do it all at once. I need to know if I can slowly add WPF into it, and if so, how?

Can I add WPF dialogs?

Can I add WPF 'panels' within a WinForm so that I can embed WPF elements?

EDIT

Can I do the opposite and put WinForm dialogs in my WPF application?

like image 481
Jason Avatar asked Sep 10 '10 13:09

Jason


1 Answers

Yes, you can host WPF controls in your WinForms applications:

Walkthrough: Hosting a 3-D WPF Composite Control in Windows Forms

Walkthrough: Hosting a Composite WPF Control in Windows Forms

like image 105
Justin Niessner Avatar answered Oct 08 '22 01:10

Justin Niessner