Back to Devexpress

DictionaryBase.Culture Property

corelibraries-devexpress-dot-xtraspellchecker-dot-dictionarybase.md

latest2.7 KB
Original Source

DictionaryBase.Culture Property

Gets or sets the culture specific settings of the dictionary.

Namespace : DevExpress.XtraSpellChecker

Assembly : DevExpress.SpellChecker.v25.2.Core.dll

NuGet Package : DevExpress.SpellChecker.Core

Declaration

csharp
public CultureInfo Culture { get; set; }
vb
Public Property Culture As CultureInfo

Property Value

TypeDescription
CultureInfo

The CultureInfo object that specifies culture settings (the symbols encoding, language and phonetic specifics).

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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#L30

csharp
customDictionary.DictionaryPath = @"Dictionaries\CustomEnglish.dic";
customDictionary.Culture = CultureInfo.InvariantCulture;
spellChecker1.Dictionaries.Add(customDictionary);

winforms-spellchecker-enable-in-text-box/VB/Form1.vb#L30

vb
customDictionary.DictionaryPath = "Dictionaries\CustomEnglish.dic"
customDictionary.Culture = CultureInfo.InvariantCulture
spellChecker1.Dictionaries.Add(customDictionary)

Implements

Culture

See Also

DictionaryBase Class

DictionaryBase Members

DevExpress.XtraSpellChecker Namespace