Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SpellCheckerISpellDictionaryExtension Class

An extension instance implementing the SpellCheckerISpellDictionary functionality in XAML.

Namespace: DevExpress.Xpf.SpellChecker

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

NuGet Package: DevExpress.Wpf.SpellChecker

#Declaration

public class SpellCheckerISpellDictionaryExtension :
    DictionaryMarkupExtension

#Remarks

Use the SpellCheckerISpellDictionaryExtension instance to add a custom dictionary in XAML using the DXSpellChecker or RichEditSpellChecker behavior.

The SpellCheckerISpellDictionaryExtension instance requires specifying the base file (the SpellCheckerISpellDictionaryExtension.DictionaryUri) and the affix file (the SpellCheckerISpellDictionaryExtension.GrammarUri property). Base files and affix files are a part of the non-commercial GNU ISpell project.

#Example

<dxspch:SpellCheckerISpellDictionary Culture="en-US"
                                     AlphabetUri="Dictionaries/EnglishAlphabet.txt" 
                                   DictionaryUri="Dictionaries/american.xlg" GrammarUri="Dictionaries/english.aff"/>

#Inheritance

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