Skip to Content
Hidden WPF: Secrets for Creating Great Applications in Windows Presentation Foundation
book

Hidden WPF: Secrets for Creating Great Applications in Windows Presentation Foundation

by Alessandro Del Sole
February 2013
Beginner to intermediate
68 pages
1h 50m
English
Sams
Content preview from Hidden WPF: Secrets for Creating Great Applications in Windows Presentation Foundation

Using the Built-In Spell Checker

You might not be aware that both the TextBox and RichTextBox controls offer a spelling checker for typed words, including a convenient pop-up menu that suggests appropriate alternatives, similar to what you see in Microsoft Word. Spell check is available only for English, German, Spanish, and French. To enable spell-checking, set the SpellCheck.IsEnabled attached property as True:

<RichTextBox Name="Rtb1" SpellCheck.IsEnabled="True"/>

Figure 3.2 shows an example of the spell check in action.

Image

Figure 3.2. Spell check in action.

With just a property assignment, you can enable this important feature in word-processing ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4

Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4

Matthew MacDonald
WPF in Action with Visual Studio 2008

WPF in Action with Visual Studio 2008

Arlen Feldman, Maxx Daymon

Publisher Resources

ISBN: 9780133432473