wpf-devexpress-dot-xpf-dot-spellchecker-dot-spellchecker.md
Gets or sets the DXSpellChecker’s operation mode.
Namespace : DevExpress.Xpf.SpellChecker
Assembly : DevExpress.Xpf.SpellChecker.v25.2.dll
NuGet Package : DevExpress.Wpf.SpellChecker
public SpellCheckMode SpellCheckMode { get; set; }
Public Property SpellCheckMode As SpellCheckMode
| Type | Description |
|---|---|
| SpellCheckMode |
A SpellCheckMode enumeration member.
|
Available values:
| Name | Description |
|---|---|
| OnDemand |
Starts spelling check and invokes the spelling form for making corrections.
| | AsYouType |
Starts spelling check when you finish typing the word or move the cursor after changing it.This operation mode underlines the misspelled word and allows you to select a suggestion from the context menu, invoked by right-clicking the word.
|
Use the SpellCheckMode property to switch to the check-as-you-type operation mode, and back to the simple spelling check. The check-as-you-type mode underlines the misspelled word and allows you to select a suggestion from the context menu, invoked by right-clicking the word.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SpellCheckMode property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
SpellChecker.SpellingFormType = SpellingFormType.Word;
SpellChecker.SpellCheckMode = SpellCheckMode.AsYouType;
SpellChecker.Culture = new CultureInfo("de-DE");
SpellChecker.SpellingFormType = SpellingFormType.Word
SpellChecker.SpellCheckMode = SpellCheckMode.AsYouType
SpellChecker.Culture = New CultureInfo("de-DE")
See Also