---
title: "How do I host a Windows Forms control in a WPF application?"  
description: "How do I host a Windows Forms control in a WPF application?"  
author: "Rajesh Goswami"  
published: 2010-10-19  
updated: 2020-09-17  
canonical: https://www.mindstick.com/interview/38/how-do-i-host-a-windows-forms-control-in-a-wpf-application  
category: "wpf"  
tags: ["wpf"]  
reading_time: 1 minute  

---

# How do I host a Windows Forms control in a WPF application?

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.

## Answers

### Answer by Rajesh Goswami

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.


---

Original Source: https://www.mindstick.com/interview/38/how-do-i-host-a-windows-forms-control-in-a-wpf-application

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
