Migration and Interoperability How-to Topics
The following topics show how to use the Windows Forms, Win32, and WPF technologies together in hybrid applications.
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 WPF 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 WPF
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 WPF
Shows how to use the Microsoft Windows Media Player as a control on a WPF page.Walkthrough: Hosting an ActiveX Control in WPF 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 WPF Application
Shows how to host a Win32 ListBox control on a WPF page.Walkthrough: Hosting a Windows Forms Control in WPF
Shows how to host a Windows Forms System.Windows.Forms.MaskedTextBox control on a WPF page.Walkthrough: Hosting a Windows Forms Control in WPF 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 WPF
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 WPF 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 WPF Content in a Win32 Application
Shows how to host a WPF page in a Win32 window.Walkthrough: Hosting a WPF 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: 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.
Term |
Definition |
---|---|
An element that you can use to host a Windows Forms control on a WPF page. |
|
A Windows Forms control that you can use to host a Windows Presentation Foundation (WPF) control. |
Term |
Definition |
---|---|
Discusses interoperation between WPF and Win32-based components or applications. |