Class DocumentSpellChecker
Inheritance
Inherited Members
Namespace: Telerik.WinControls.SpellChecker.Proofing
Assembly: Telerik.WinControls.SpellChecker.dll
Syntax
public class DocumentSpellChecker : ISpellChecker, IDisposable
Constructors
DocumentSpellChecker()
Declaration
public DocumentSpellChecker()
DocumentSpellChecker(ICustomWordDictionary)
Declaration
public DocumentSpellChecker(ICustomWordDictionary customDictionary)
Parameters
ICustomWordDictionary
customDictionary
|
Fields
EditDistanceCoeficient
Declaration
public static readonly int EditDistanceCoeficient
Field Value
System.Int32
|
EditDistanceLimit
Declaration
public static readonly int EditDistanceLimit
Field Value
System.Int32
|
EditDistanceOneBoost
Declaration
public static readonly int EditDistanceOneBoost
Field Value
System.Int32
|
EditDistanceScanLimit
Declaration
public static readonly int EditDistanceScanLimit
Field Value
System.Int32
|
EndsDifferencePenalty
Declaration
public static readonly int EndsDifferencePenalty
Field Value
System.Int32
|
MaxNumberOfSuggestions
Declaration
public static readonly int MaxNumberOfSuggestions
Field Value
System.Int32
|
MetaphoneEqualBoost
Declaration
public static readonly int MetaphoneEqualBoost
Field Value
System.Int32
|
Properties
DictionaryList
Gets or sets the list of dictionaries used by SpellChecker. Generally, this property is not intended to be used directly from your code, rather it is set automatically by MEF.
Declaration
public List<Lazy<IWordDictionary, IWordDictionaryMetadata>> DictionaryList { get; set; }
Property Value
System.Collections.Generic.List<System.Lazy<IWordDictionary, IWordDictionaryMetadata>>
|
SpellCheckingCulture
Declaration
public CultureInfo SpellCheckingCulture { get; set; }
Property Value
System.Globalization.CultureInfo
|
Implements
Methods
AddCustomDictionary(ICustomWordDictionary, CultureInfo)
Adds a custom dictionary with the specified culture to the spell checker. If a dictionary with this culture already exists, it is overwritten.
Declaration
public void AddCustomDictionary(ICustomWordDictionary customDictionary, CultureInfo culture)
Parameters
ICustomWordDictionary
customDictionary
|
System.Globalization.CultureInfo
culture
|
AddDictionary(Lazy<IWordDictionary>, CultureInfo)
Adds a lazily initialized dictionary with the specified culture to the spell checker. If a dictionary with this culture already exists, it is overwritten.
Declaration
public void AddDictionary(Lazy<IWordDictionary> lazyDictionary, CultureInfo culture)
Parameters
System.Lazy<IWordDictionary>
lazyDictionary
|
System.Globalization.CultureInfo
culture
|
AddDictionary(IWordDictionary, CultureInfo)
Adds a dictionary with the specified culture to the spell checker. If a dictionary with this culture already exists, it is overwritten.
Declaration
public void AddDictionary(IWordDictionary dictionary, CultureInfo culture)
Parameters
IWordDictionary
dictionary
|
System.Globalization.CultureInfo
culture
|
AddWord(String)
Declaration
public void AddWord(string word)
Parameters
System.String
word
|
Implements
AddWord(String, CultureInfo)
Declaration
public void AddWord(string word, CultureInfo culture)
Parameters
System.String
word
|
System.Globalization.CultureInfo
culture
|
Implements
CanAddWord()
CanAddWord(CultureInfo)
Declaration
public bool CanAddWord(CultureInfo culture)
Parameters
System.Globalization.CultureInfo
culture
|
Returns
System.Boolean
|
Implements
CheckWordIsCorrect(String)
Declaration
public bool CheckWordIsCorrect(string word)
Parameters
System.String
word
|
Returns
System.Boolean
|
Implements
CheckWordIsCorrect(String, CultureInfo)
Declaration
public bool CheckWordIsCorrect(string word, CultureInfo culture)
Parameters
System.String
word
|
System.Globalization.CultureInfo
culture
|
Returns
System.Boolean
|
Implements
Dispose()
Declaration
public void Dispose()
Implements
GetCustomDictionary(CultureInfo)
Declaration
public ICustomWordDictionary GetCustomDictionary(CultureInfo culture)
Parameters
System.Globalization.CultureInfo
culture
|
Returns
ICustomWordDictionary
|
GetDictionary(CultureInfo)
Declaration
public IWordDictionary GetDictionary(CultureInfo culture)
Parameters
System.Globalization.CultureInfo
culture
|
Returns
IWordDictionary
|
GetSuggestions(String)
Declaration
public ICollection<string> GetSuggestions(string word)
Parameters
System.String
word
|
Returns
System.Collections.Generic.ICollection<System.String>
|
Implements
GetSuggestions(String, CultureInfo)
Declaration
public ICollection<string> GetSuggestions(string word, CultureInfo culture)
Parameters
System.String
word
|
System.Globalization.CultureInfo
culture
|
Returns
System.Collections.Generic.ICollection<System.String>
|
Implements
RemoveCustomDictionary(CultureInfo)
Removes the custom dictionary with the specified culture from the spell checker. This method returns false if no such dictionary is found.
Declaration
public bool RemoveCustomDictionary(CultureInfo culture)
Parameters
System.Globalization.CultureInfo
culture
|
Returns
System.Boolean
|
RemoveDictionary(CultureInfo)
Removes the dictionary with the specified culture from the spell checker. This method returns false if no such dictionary is found.
Declaration
public bool RemoveDictionary(CultureInfo culture)
Parameters
System.Globalization.CultureInfo
culture
|
Returns
System.Boolean
|
RemoveWord(String)
Declaration
public void RemoveWord(string word)
Parameters
System.String
word
|
Implements
RemoveWord(String, CultureInfo)
Declaration
public void RemoveWord(string word, CultureInfo culture)
Parameters
System.String
word
|
System.Globalization.CultureInfo
culture
|
Implements
Events
DataChanged
Declaration
public event EventHandler DataChanged
Event Type
System.EventHandler
|