aroshlakshan
aroshlakshan

Reputation: 117

How to add spell check in a richtextbox?

I want to add spell check to my richtextboxes in my application. How can i do that with built in classes in visual studio express 2010?

Upvotes: 1

Views: 10877

Answers (3)

Shilpa Gurnani
Shilpa Gurnani

Reputation: 61

You Can Use Third Party Control (Infragistics) UltraSpellChecker. Its really easy to work with it.

this.ultraSpellChecker1.SetSpellCheckerSettings(this.txt_comment, new Infragistics.Win.UltraWinSpellChecker.SpellCheckerSettings(true));

where txt_comment is the richtextbox in which you want your spellings to be checked.

Upvotes: 0

Damith
Damith

Reputation: 63105

If you are working on WPF, you can use System.Windows.Controls.SpellCheck.

but if you using WinForms you can still use WPF spellcheck with some work.

check this SO question for more info.

Otherwise you need to use third party library.

Upvotes: 0

Rob P.
Rob P.

Reputation: 15091

Have you looked at this? System.Windows.Controls.SpellCheck

http://msdn.microsoft.com/en-us/library/system.windows.controls.spellcheck.aspx

Upvotes: 2

Related Questions