Updated: November 2007
The following topics show how to use the Windows Forms, Win32, and WPF technologies together in hybrid applications.
Shows how to enable Microsoft Windows XP visual styles on a Windows Forms control hosted in a WPF-based application.
Shows how to host a WPF control in Windows Forms, and how to attach handlers to two of the control's custom OnButtonClick events.
Shows how to use WPF layout features to arrange Windows Forms controls in a hybrid application.
Shows how to use data binding in hybrid applications that include both Windows Forms and WPF controls.
Shows how to use the Microsoft Windows Media Player as a control on a WPF page.
Shows how to use Extensible Application Markup Language (XAML) to host the Microsoft Windows Media Player as a control on a WPF page.
Shows how to host a Win32 ListBox control on a WPF page.
Shows how to host a Windows Forms System.Windows.Forms..::.MaskedTextBox control on a WPF page.
Shows how to use Extensible Application Markup Language (XAML) to host a Windows Forms System.Windows.Forms..::.MaskedTextBox control on a WPF page.
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.
Shows how to host a WPF page (consisting of a simple data-entry application packaged in a DLL) in a Windows Forms-based application.
Shows how to host a WPF page in a Win32 window.
Shows how to host a WPF UserControl class that displays a three-dimensional (3-D) cone in Windows Forms.
Shows how to localize WPF elements in a Windows Forms-based hybrid application.
Shows how to use the PropertyMap property to map Windows Forms properties to corresponding properties on a hosted WPF element.
Shows how to use the PropertyMap property to map WPF properties to corresponding properties on a hosted Windows Forms control.
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.
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.