wpf-devexpress-dot-xpf-dot-spellchecker-6a5d39f2.md
The collection of dictionaries provided for the RichEditSpellChecker or DXSpellChecker behaviors.
Namespace : DevExpress.Xpf.SpellChecker
Assembly : DevExpress.Xpf.SpellChecker.v25.2.dll
NuGet Package : DevExpress.Wpf.SpellChecker
public class SpellCheckerDictionaryCollection :
Collection<object>
Public Class SpellCheckerDictionaryCollection
Inherits Collection(Of Object)
The following members return SpellCheckerDictionaryCollection objects:
Use the SpellCheckerDictionaryCollection collection to add dictionaries to the RichEditSpellChecker or DXSpellChecker behaviors in XAML. The following dictionary extensions are supported:
<!--Add the following namespace declarations:
xmlns:dxre="http://schemas.devexpress.com/winfx/2008/xaml/richedit"
xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
xmlns:dxspch="http://schemas.devexpress.com/winfx/2008/xaml/spellchecker"-->
<dxre:RichEditControl CommandBarStyle="Ribbon"
x:Name="richEditControl"
DocumentSource="An ideal dictionarie shouldbe comprised of all the the words in a given langauge">
<dxre:RichEditControl.SpellCheckerOptions>
<dxre:DXRichEditSpellCheckerOptions AutoDetectDocumentCulture="False"/>
</dxre:RichEditControl.SpellCheckerOptions>
<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>
Object Collection<Object> SpellCheckerDictionaryCollection
See Also