How can I do spell check on strings?

余生颓废 提交于 2019-12-10 18:54:48

问题


does anybody know any C# multilingual spell check library ? I don't need a real time spell check. Only check on strings.

thanks!


回答1:


For what it's worth, this was the first hit on google:

SpellCheck class

From MSDN:

Provides real-time spell-checking functionality to text-editing controls, such as TextBox and RichTextBox.

To enable the spelling checker, set the SpellCheck.IsEnabled property to true on a text-editing control. When this spelling checker is enabled, misspelled words are underlined by using a red wavy line, as shown in the following illustration. Spelling checker is supported only when WPF provides a default dictionary. In .NET Framework 4, WPF provides dictionaries for English, French, German, and Spanish.

Edit I've only just recognized that it's for WPF only. Then you could have a look at this SO-question: Spell check in winforms




回答2:


Use Telerik Controls for .NET you will get it.

Follow this link

http://demos.telerik.com/aspnet-ajax/spell/examples/spellcheckvalidator/defaultcs.aspx?product=editor

Hope its helpful to you



来源:https://stackoverflow.com/questions/15293762/how-can-i-do-spell-check-on-strings

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!