menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CustomDictionaryBase - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CustomDictionaryBase

    Represents a class that stores information about custom words

    Inheritance
    System.Object
    DictionaryBase
    CustomDictionaryBase
    CustomDictionary
    Inherited Members
    DictionaryBase.Culture
    DictionaryBase.Encoding
    DictionaryBase.LoadDictionary()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.SpellChecker.Base
    Assembly: Syncfusion.SpellChecker.Base.dll
    Syntax
    public abstract class CustomDictionaryBase : DictionaryBase
    Remarks

    Extra words can be stored in custom dictionary. Any words added using ‘Add to dictionary’, is also stored in this custom dictionary.

    Examples

    var english = new HunspellDictionary(); english.Culture = new CultureInfo("en-us"); english.DictionaryUri = new Uri("/SpellCheckerDemo;component//english.dic"); english.GrammarUri = new Uri("/SpellCheckerDemo;component//english.aff");

    var custom = new CustomDictionary(); custom.Culture = new CultureInfo("en-us"); english.DictionaryUri = new Uri("/Resources/custom.dic");

    var dictionaries = new DictionaryCollection(); dictionaries.Add(english); dictionaries.Add(custom);

    spellChecker.Dictionaries = dictionaries; spellChecker.Culture = new CultureInfo("en-us");

    Constructors

    CustomDictionaryBase()

    Declaration
    protected CustomDictionaryBase()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved