Windows 8 and Spell Check

WinRT XAML supports system-driven spell checking and auto-complete. Built in and right out of the box. The figure SpellCheckshows spell checking at work. Notice the squiggly underlining of the misspelled word, the options to correct or add to the dictionary or ignore.

You get both spell checking and autocompletion by setting just two properties on the TextBox.

<TextBox x:Name="JobTitle"
IsSpellCheckEnabled="True"
IsTextPredictionEnabled="True"
Width="200"
Height="40"
Grid.Row="2"
Grid.Column="1"
HorizontalAlignment="Left"
Margin="5"
VerticalAlignment="Center" />

About Jesse Liberty

Jesse Liberty has three decades of experience writing and delivering software projects and is the author of 2 dozen books and a couple dozen online courses. His latest book, Building APIs with .NET will be released early in 2025. Liberty is a Senior SW Engineer for CNH and he was a Senior Technical Evangelist for Microsoft, a Distinguished Software Engineer for AT&T, a VP for Information Services for Citibank and a Software Architect for PBS. He is a Microsoft MVP.
This entry was posted in Windows 8. Bookmark the permalink.

5 Responses to Windows 8 and Spell Check

Comments are closed.