corelibraries-devexpress-dot-xtraspellchecker-dot-spellcheckerbase.md
Gets or sets the culture-specific settings of the spell checker.
Namespace : DevExpress.XtraSpellChecker
Assembly : DevExpress.SpellChecker.v25.2.Core.dll
NuGet Package : DevExpress.SpellChecker.Core
public CultureInfo Culture { get; set; }
Public Property Culture As CultureInfo
| Type | Description |
|---|---|
| CultureInfo |
CultureInfo object that specifies culture settings (the symbol encoding, language and phonetic specifics).
|
If the culture setting is changed before the text is checked completely, the remaining part of the text is checked according to new culture specifics.
The SpellChecker uses the dictionary that corresponds with the Culture value. Make sure that corresponding dictionaries for all used cultures are added to the DictionaryCollection.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Culture 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-spellchecker-enable-in-text-box/CS/Form1.cs#L21
spellChecker1.Culture = CultureInfo.InvariantCulture;
spellChecker1.SpellCheckMode = SpellCheckMode.AsYouType;
SpellChecker.SpellCheckMode = SpellCheckMode.AsYouType;
SpellChecker.Culture = new CultureInfo("de-DE");
// Obtain a dictionary collection.
winforms-spellchecker-enable-in-text-box/VB/Form1.vb#L21
'spellChecker1.Culture = new CultureInfo("es-ES");
spellChecker1.Culture = CultureInfo.InvariantCulture
spellChecker1.SpellCheckMode = SpellCheckMode.AsYouType
SpellChecker.SpellCheckMode = SpellCheckMode.AsYouType
SpellChecker.Culture = New CultureInfo("de-DE")
' Obtain a dictionary collection.
See Also