This is an old revision of the document!
Hosting Windows Forms Controls in WPF
- Create a WPF project.
- Add references to required assemblies:
WindowsFormsIntegrations
System.Windows.Forms
- Add
WindowsFormsHost
tag inside a grid element (in XAML):<Grid> <WindowsFormsHost> <wf:Chart x:Name="Chart1"/> </WindowsFormsHost> </Grid>