Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Migration and Interoperability How-to Topics

The following topics show how to use the Windows Forms, Win32, and WPF technologies together in hybrid applications.

In This Section

How to: Enable Visual Styles in a Hybrid Application

Shows how to enable Microsoft Windows XP visual styles on a Windows Forms control hosted in a WPF-based application.

How to: Host a Windows Presentation Foundation Control in Windows Forms by Using ElementHost

Shows how to host a WPF control in Windows Forms, and how to attach handlers to two of the control's custom OnButtonClick events.

Walkthrough: Arranging Windows Forms Controls in Windows Presentation Foundation

Shows how to use WPF layout features to arrange Windows Forms controls in a hybrid application.

Walkthrough: Binding to Data in Hybrid Applications

Shows how to use data binding in hybrid applications that include both Windows Forms and WPF controls.

Walkthrough: Hosting an ActiveX Control in Windows Presentation Foundation

Shows how to use the Microsoft Windows Media Player as a control on a WPF page.

Walkthrough: Hosting an ActiveX Control in Windows Presentation Foundation by Using XAML

Shows how to use Extensible Application Markup Language (XAML) to host the Microsoft Windows Media Player as a control on a WPF page.

Walkthrough: Hosting a Simple Win32 Control in a Windows Presentation Foundation Application

Shows how to host a Win32 ListBox control on a WPF page.

Walkthrough: Hosting a Windows Forms Control in Windows Presentation Foundation

Shows how to host a Windows Forms System.Windows.Forms.MaskedTextBox control on a WPF page.

Walkthrough: Hosting a Windows Forms Control in Windows Presentation Foundation by Using XAML

Shows how to use Extensible Application Markup Language (XAML) to host a Windows Forms System.Windows.Forms.MaskedTextBox control on a WPF page.

Walkthrough: Hosting a Windows Forms Composite Control in Windows Presentation Foundation

Shows how to host a Windows Forms composite control (consisting of System.Windows.Forms.TextBox controls and their corresponding System.Windows.Forms.Label controls) on a WPF page.

Walkthrough: Hosting a Windows Presentation Foundation Control in Windows Forms

Shows how to host a WPF page (consisting of a simple data-entry application packaged in a DLL) in a Windows Forms-based application.

Walkthrough: Hosting Windows Presentation Foundation Content in a Win32 Application

Shows how to host a WPF page in a Win32 window.

Walkthrough: Hosting a Windows Presentation Foundation Composite Control in Windows Forms

Shows how to host a WPF UserControl class that displays a three-dimensional (3-D) cone in Windows Forms.

Walkthrough: Localizing a Hybrid Application

Shows how to localize WPF elements in a Windows Forms-based hybrid application.

Walkthrough: Manually Adding a Windows Presentation Foundation Element to a Windows Forms Project

Shows how to use Visual Studio to add a WPF element to your Windows Forms project manually.

Walkthrough: Manually Creating a Windows Presentation Foundation Project Using Visual Studio

Shows how to use Visual Studio to create a WPF project manually.

Walkthrough: Mapping Properties Using the ElementHost Control

Shows how to use the PropertyMap property to map Windows Forms properties to corresponding properties on a hosted WPF element.

Walkthrough: Mapping Properties Using the WindowsFormsHost Element

Shows how to use the PropertyMap property to map WPF properties to corresponding properties on a hosted Windows Forms control.

Reference

Term Definition

WindowsFormsHost

An element that you can use to host a Windows Forms control on a WPF page.

ElementHost

A Windows Forms control that you can use to host a Windows Presentation Foundation (WPF) control.

Related Sections

Term Definition

WPF and Win32 Interoperation Overview

Discusses interoperation between WPF and Win32-based components or applications.

Migration and Interoperability Samples

Samples that show how to use the Windows Forms, Win32, and WPF technologies together in hybrid applications.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft