Spell Checking in WPF

19 December 2007 in Programming

Did you know WPF comes with spell checking integrated in common controls?

I just discover this feature through Alan Le’s blog.

All you need to enjoy this feature is set its property to true in the XAML file, like this:

<TextBox SpellCheck.IsEnabled=”True” />

You can also change the spell-checker languages by setting the property Language with a supported culture string (i.e: en-US).

Currently, only supports English, Spanish, German and French.

You can also change the context-menu behavior and add your own choices by handling the ContextMenuOpening event.

Leave a Comment

Name (required)

E-mail (required - not published)

Website

Your comment:


Search


Pages


Top Posts


Categories


Advertising