1

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 2

1

http://wpfsyntax.codeplex.com/

http://devhawk.net/2009/07/09/syntax-highlighting-textboxes-in-wpf-a-sad-story/

Sign up to request clarification or add additional context in comments.

Comments

1

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.