HunspellDictionaryExtension Class

An extension instance implementing the HunspellDictionary functionality in XAML.

Namespace: DevExpress.Xpf.SpellChecker

Assembly: DevExpress.Xpf.SpellChecker.v20.1.dll

Declaration

public class HunspellDictionaryExtension :
    DictionaryMarkupExtension
Public Class HunspellDictionaryExtension
    Inherits DictionaryMarkupExtension

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.

Examples

<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"/>

Inheritance

Object
MarkupExtension
DevExpress.Xpf.SpellChecker.DictionaryMarkupExtension
HunspellDictionaryExtension
See Also