Blessy
Blessy

Reputation: 29

Upper case spell check WPF Not working

I'm trying to do spell checking in a WPF RichTextBox and working on .net framework 4. In MSDN's documentation on spell check says it does case insensitive spell checking for TextBox and RichTextBox controls.

Unfortunately, the following code doesn't work for words with all uppercase:

<RichTextBox SpellCheck.IsEnabled="True" xml:lang="en-US"></RichTextBox>

Please help me.... Thanks in advance...

Upvotes: 2

Views: 1097

Answers (1)

Adam Vincent
Adam Vincent

Reputation: 3861

My google-fu results are looking as though native windows spell checking does not handle English capital letters. Doubly so on Windows 10 where Microsoft Word 20XX and Microsoft Word 365 users are reporting that spell checker will not check uppercase words even when explicitly told to not "Ignore words in UPPERCASE"

Here is a reference to a workaround found on SO (Specifically for XAML SpellCheck.IsEnabled)

C# Texbox Spell Checker Check All Caps Words

Also, there is the option of using a 3rd party spell checker.

Upvotes: 1

Related Questions