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

DXSpellChecker Class

Allows you to implement the spell checking functionality for the text controls.

Namespace: DevExpress.Xpf.SpellChecker

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

Declaration

[TargetType(typeof(TextEdit))]
[TargetType(typeof(TextBox))]
[TargetType(typeof(RichTextBox))]
[TargetType(typeof(MemoEdit))]
public class DXSpellChecker :
    DXSpellCheckerBase<FrameworkElement>

Remarks

Use the DXSpellChecker instance to provide the spell checker behavior for the following text controls:

Example

<dxe:TextEdit Text="An ideal dictionarie shouldbe comprised of all the the words in a given langauge">
    <dxmvvm:Interaction.Behaviors>
        <dxspch:DXSpellChecker x:Name="spChecker"
                               UnderlineColor="#FFAA3A37" 
                               IgnoreEmails="False" 
                               Culture="en-US" 
                               ShowSpellCheckMenu="True"
                               CheckAsYouType="True" 
                               SpellingFormType="Word">         
        <dxspch:DXSpellChecker.Dictionaries>
                <dxspch:SpellCheckerISpellDictionary AlphabetUri="Dictionaries/EnglishAlphabet.txt" 
                                                    Culture="en-US" 
                                                    DictionaryUri="pack://siteoforigin:,,,/Dictionaries/american.xlg" 
                                                    GrammarUri="pack://siteoforigin:,,,/Dictionaries/english.aff"/>
        </dxspch:DXSpellChecker.Dictionaries>

The following code snippets (auto-collected from DevExpress Examples) contain references to the DXSpellChecker class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Show 11 items
Object
DispatcherObject
DependencyObject
Freezable
Animatable
DevExpress.Mvvm.UI.Interactivity.AttachableObjectBase
DevExpress.Mvvm.UI.Interactivity.Behavior
DevExpress.Mvvm.UI.Interactivity.Behavior<FrameworkElement>
SpellCheckerBase<FrameworkElement>
DevExpress.Xpf.SpellChecker.DXSpellCheckerBase<FrameworkElement>
DXSpellChecker
See Also