1

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?

albertjan
  • 7,739
  • 6
  • 44
  • 74
aroshlakshan
  • 117
  • 2
  • 3
  • 16

3 Answers3

2

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

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

Rob P.
  • 14,921
  • 14
  • 73
  • 109
0

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.

Community
  • 1
  • 1
Damith
  • 62,401
  • 13
  • 102
  • 153
0

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.

zdan
  • 28,667
  • 7
  • 60
  • 71