officefileapi-devexpress-dot-xtrarichedit-dot-autocorrectoptions-24e73223.md
Gets or sets whether AutoCorrect should correct misspelled words that are similar to words in the dictionary that the spelling checker uses.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool UseSpellCheckerSuggestions { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property UseSpellCheckerSuggestions As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to switch this functionality on; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to UseSpellCheckerSuggestions |
|---|---|
| RichEditControlOptionsBase |
.AutoCorrect .UseSpellCheckerSuggestions
|
If there is one and only one suggested word provided by a spelling checker, this word is used as a replacement. If several suggestions are provided, AutoCorrect does not use them.
To learn more about spelling checker suggestions, see the PrepareSuggestionsEventArgs.Suggestions article.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UseSpellCheckerSuggestions 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.
winforms-richedit-text-autocorrect-feature/CS/Expander/Form1.cs#L38
correctionOptions.ReplaceTextAsYouType = true;
correctionOptions.UseSpellCheckerSuggestions = true;
#endregion #options
winforms-richedit-text-autocorrect-feature/VB/Expander/Form1.vb#L37
correctionOptions.ReplaceTextAsYouType = True
correctionOptions.UseSpellCheckerSuggestions = True
' #End Region ' #options
See Also