I have a WPF application that is in need of syntax highlighting. THIS is exactly what I'm looking for... however its for WinForms. Can I, and if so, how do I add it to my WPF program?
2 Answers
There's a walkthrough on MSDN
This walkthrough steps you through an application that hosts a Windows Forms composite control to perform data entry in a WPF application. The composite control is packaged in a DLL. This general procedure can be extended to more complex applications and controls.
In this scenario the WinForms controls are in a separate dll which needs to be signed.
The WPF application needs to use a WinFormsHost control as the container for the control.