Skip to main content
A newer version of this page is available. .

SpellCheckerDictionaryCollection Class

The collection of dictionaries provided for the RichEditSpellChecker or DXSpellChecker behaviors.

Namespace: DevExpress.Xpf.SpellChecker

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.SpellChecker, DevExpress.Wpf.RichEdit, DevExpress.Wpf.SpellChecker

Declaration

public class SpellCheckerDictionaryCollection :
    Collection<object>

The following members return SpellCheckerDictionaryCollection objects:

Remarks

Use the SpellCheckerDictionaryCollection collection to add dictionaries to the RichEditSpellChecker or DXSpellChecker behaviors in XAML. The following dictionary extensions are supported:

Example

View Example

<dxre:RichEditControl DocumentSource="An ideal dictionarie shouldbe comprised of all the the words in a given langauge">
    <dxmvvm:Interaction.Behaviors>
        <dxspch:RichEditSpellChecker CheckAsYouType="True"
                                     Culture="en-US"
                                     IgnoreMixedCaseWords="False"
                                     IgnoreUri="False"
                                     SpellingFormType="Word">
            <dxspch:RichEditSpellChecker.Dictionaries>
                <dxspch:HunspellDictionary Culture="en-US" 
                                           DictionaryUri="pack://application:,,,/Dictionaries/en_US.dic"
                                           GrammarUri="pack://application:,,,/Dictionaries/en_US.aff"/>
                <dxspch:SpellCheckerCustomDictionary Culture="en-US"
                                                     DictionaryUri="Dictionaries/CustomEnglish.dic"
                                                     AlphabetUri="Dictionaries/EnglishAlphabet.txt"/>
            </dxspch:RichEditSpellChecker.Dictionaries>
        </dxspch:RichEditSpellChecker>
    </dxmvvm:Interaction.Behaviors>
</dxre:RichEditControl>

Inheritance

Object
Collection<Object>
SpellCheckerDictionaryCollection
See Also