Windows Presentation Foundation Interview Questions:
Q: How do I host a Windows Forms control in a WPF application?
A: First make sure to add references to System.Windows.Forms and System.Windows.Forms.Integration. Then you need to decide if you will use code, XAML or a combination of both to work with the Windows Forms controls. If you are strictly using code, you would write code similar to the following: