A newer version of this page is available. Switch to the current version.

SpellCheckerCustomDictionary Class

Represents a custom dictionary of the spell checker.

Namespace: DevExpress.XtraSpellChecker

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


public class SpellCheckerCustomDictionary :
Public Class SpellCheckerCustomDictionary
    Inherits SpellCheckerDictionary

Related API Members

The following members accept/return SpellCheckerCustomDictionary objects:

Library Related API Members
Cross-Platform Class Library DictionaryHelper.GetCustomDictionary()
ASP.NET Controls and MVC Extensions ASPxSpellChecker.GetCustomDictionary()


The custom dictionary can be created and updated by the user. The spelling form provides a command button for appending a word not found in dictionaries to the custom dictionary.

The custom dictionary can be saved to a file and loaded when necessary.


The following code demonstrates how to create the SpellCheckerCustomDictionary dictionary at runtime.

using DevExpress.XtraSpellChecker;
using System;
using System.Globalization;
            SpellCheckerCustomDictionary customDictionary = new SpellCheckerCustomDictionary();
            customDictionary.AlphabetPath = @"Dictionaries\EnglishAlphabet.txt";
            customDictionary.DictionaryPath = @"Dictionaries\CustomEnglish.dic";
            customDictionary.Culture = CultureInfo.InvariantCulture;
See Also