HunspellDictionaryExtension Class
An extension instance implementing the HunspellDictionary functionality in XAML.
Namespace: DevExpress.Xpf.SpellChecker
Assembly: DevExpress.Xpf.SpellChecker.v24.1.dll
NuGet Package: DevExpress.Wpf.SpellChecker
Declaration
Remarks
Use the HunspellDictionaryExtension instance to add a custom dictionary in XAML using the DXSpellChecker or RichEditSpellChecker behavior.
The HunspellDictionaryExtension instance requires specifying the dictionary file (the HunspellDictionaryExtension.DictionaryUri property) and an affix file (the HunspellDictionaryExtension.GrammarUri property). The dictionary file contains only the root forms of words with information about morphological affix classes to combine with the roots. The affix file contains lists of affixes along with their context restrictions and effects. The affix file also serves as a settings file for the dictionary, containing all meta-data and settings.
Note
We bear no responsibility for the content and availability of Hunspell dictionaries and affix files, since they are part of Hunspellproject (for more information visit the Hunspell web site.
Example
<dxspch:HunspellDictionary Culture="en-US"
DictionaryUri="pack://siteoforigin:,,,/Dictionaries/Hunspell/en-US/en-US.dic"
GrammarUri="pack://siteoforigin:,,,/Dictionaries/Hunspell/en-US/en-US.aff"/>