New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.SpellChecker.Proofing

Assembly:Telerik.WinControls.SpellChecker.dll

Syntax:

C#
public class DocumentSpellChecker : ISpellChecker, IDisposable

Inheritance: objectDocumentSpellChecker

Implements: IDisposableISpellChecker

Constructors

C#
public DocumentSpellChecker()
C#
public DocumentSpellChecker(ICustomWordDictionary customDictionary)
Parameters:customDictionaryICustomWordDictionary

Fields

C#
public static readonly int EditDistanceCoeficient
C#
public static readonly int EditDistanceLimit
C#
public static readonly int EditDistanceOneBoost
C#
public static readonly int EditDistanceScanLimit
C#
public static readonly int EndsDifferencePenalty
C#
public static readonly int MaxNumberOfSuggestions
C#
public static readonly int MetaphoneEqualBoost

Properties

C#
public CultureInfo SpellCheckingCulture { get; set; }

Implements: ISpellChecker.SpellCheckingCulture

Methods

Adds a custom dictionary with the specified culture to the spell checker. If a dictionary with this culture already exists, it is overwritten.

C#
public void AddCustomDictionary(ICustomWordDictionary customDictionary, CultureInfo culture)
Parameters:customDictionaryICustomWordDictionarycultureCultureInfo

Adds a dictionary with the specified culture to the spell checker. If a dictionary with this culture already exists, it is overwritten.

C#
public void AddDictionary(IWordDictionary dictionary, CultureInfo culture)
Parameters:dictionaryIWordDictionarycultureCultureInfo

Adds a lazily initialized dictionary with the specified culture to the spell checker. If a dictionary with this culture already exists, it is overwritten.

C#
public void AddDictionary(Lazy<IWordDictionary> lazyDictionary, CultureInfo culture)
Parameters:lazyDictionaryLazy<IWordDictionary>cultureCultureInfo
C#
public void AddWord(string word, CultureInfo culture)
Parameters:wordstringcultureCultureInfo

Implements: ISpellChecker.AddWord(string, CultureInfo)

C#
public void AddWord(string word)
Parameters:wordstring

Implements: ISpellChecker.AddWord(string)

C#
public bool CanAddWord()
Returns:

bool

Implements: ISpellChecker.CanAddWord()

C#
public bool CanAddWord(CultureInfo culture)
Parameters:cultureCultureInfoReturns:

bool

Implements: ISpellChecker.CanAddWord(CultureInfo)

C#
public bool CheckWordIsCorrect(string word, CultureInfo culture)
Parameters:wordstringcultureCultureInfoReturns:

bool

Implements: ISpellChecker.CheckWordIsCorrect(string, CultureInfo)

C#
public bool CheckWordIsCorrect(string word)
Parameters:wordstringReturns:

bool

Implements: ISpellChecker.CheckWordIsCorrect(string)

C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
public ICustomWordDictionary GetCustomDictionary(CultureInfo culture)
Parameters:cultureCultureInfoReturns:

ICustomWordDictionary

C#
public IWordDictionary GetDictionary(CultureInfo culture)
Parameters:cultureCultureInfoReturns:

IWordDictionary

C#
public ICollection<string> GetSuggestions(string word, CultureInfo culture)
Parameters:wordstringcultureCultureInfoReturns:

ICollection<string>

Implements: ISpellChecker.GetSuggestions(string, CultureInfo)

C#
public ICollection<string> GetSuggestions(string word)
Parameters:wordstringReturns:

ICollection<string>

Implements: ISpellChecker.GetSuggestions(string)

Removes the custom dictionary with the specified culture from the spell checker. This method returns false if no such dictionary is found.

C#
public bool RemoveCustomDictionary(CultureInfo culture)
Parameters:cultureCultureInfoReturns:

bool

Removes the dictionary with the specified culture from the spell checker. This method returns false if no such dictionary is found.

C#
public bool RemoveDictionary(CultureInfo culture)
Parameters:cultureCultureInfoReturns:

bool

C#
public void RemoveWord(string word, CultureInfo culture)
Parameters:wordstringcultureCultureInfo

Implements: ISpellChecker.RemoveWord(string, CultureInfo)

C#
public void RemoveWord(string word)
Parameters:wordstring

Implements: ISpellChecker.RemoveWord(string)

Events

C#
public event EventHandler DataChanged

Implements: ISpellChecker.DataChanged