Files
docs-desktop/dotnet-desktop-guide/framework/wpf/controls/how-to-enable-spell-checking-in-a-text-editing-control.md
T
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

1.5 KiB

title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
title ms.date dev_langs helpviewer_keywords ms.assetid
How to: Enable Spell Checking in a Text Editing Control 03/30/2017
csharp
vb
spellchecking [WPF]
real-time spellchecking
TextBox control [WPF], real-time spellchecking
spelling checker [WPF]
checking spelling [WPF]
6f953d2b-67e8-4012-84ce-53c0e958da47

How to: Enable Spell Checking in a Text Editing Control

The following example shows how to enable real-time spell checking in a xref:System.Windows.Controls.TextBox by using the xref:System.Windows.Controls.SpellCheck.IsEnabled%2A property of the xref:System.Windows.Controls.SpellCheck class.

Example

[!code-xamlTextBoxMiscSnippets_snip#SpellCheckExampleWholePage]

[!code-csharpTextBoxMiscSnippets_procedural_snip#SpellCheckCodeExampleWholePage] [!code-vbTextBoxMiscSnippets_procedural_snip#SpellCheckCodeExampleWholePage]

See also