Skip to main content

SpellCheckerBase Members

Represents the base class for the SpellChecker component.

Constructors

Name Description
SpellCheckerBase() Initializes a new instance of the SpellCheckerBase class with the default settings.

Properties

Name Description
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
ChangeAllList Provides access to the list of words and their counterparts that replace them on every occurrence.
Container Gets the IContainer that contains the Component. Inherited from Component.
Culture Gets or sets the culture-specific settings of the spell checker.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Dictionaries Provides access to the spell checker dictionaries collection.
DictionaryHelper Provides access to the object which facilitates dictionary operations.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
IgnoreList Provides access to a list of ignored words.
LevenshteinDistance Gets or sets the parameter used to measure the proximity of words to be included in a suggestion collection.
LoadOnDemand Gets or sets whether the dictionary is not loaded until the spell checker language has matched the dictionary language.
OptionsSpelling Provides access to the spelling options set for the SpellCheckerBase instance.
Site Gets or sets the ISite of the Component. Inherited from Component.
SpellingFormType Gets or sets the type of form that is shown when a possible misspelled word is found.
SuggestionSearchTimeOut Gets or sets the timeout for calculating suggestions.
UseSharedDictionaries Specifies whether the spell checker should use the shared dictionaries collection in a word search. For WinForms Spell Checker only.

Methods

Name Description
Check(ISpellCheckTextController) Checks the spelling of the text available through the controller interface.
Check(String, Position, Position) Checks the spelling of words in a text string.
Check(String) Checks the spelling of words in a text string and invokes the spelling dialog if an error is found.
CheckText(String, Boolean) Obsolete. Checks the specified text to get a list of erroneous words and suggested corrections.
CheckText(String) Checks the specified text to get a list of erroneous words and suggested corrections.
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Dispose() Releases all resources used by the Component. Inherited from Component.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetCommandsByError(SpellCheckErrorBase) Creates a list of commands, available to the end-user, which depend on the type of misspelling.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetSuggestions(String, CultureInfo) Gets suggested words to replace a specified word.
GetSuggestions(String) Gets suggested words to replace a specified word.
GetType() Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
IsMisspelledWord(String, CultureInfo, Position, Position) Checks whether the specified word is misspelled according to the dictionary for the specified culture, starting from and ending at the specified positions.
IsMisspelledWord(String, CultureInfo) Checks whether the specified word is, according to the dictionary, misspelled for the specified culture.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
OnCustomDictionaryWordAdded(Object, WordAddedEventArgs) For internal use.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RestoreFromStream(Stream) Loads data from the specified stream and creates the XtraSpellChecker object from it.
RestoreFromXML(String) Loads data from the specified XML file and creates the XtraSpellChecker object from it.
SaveToStream(Stream) Serializes XtraSpellChecker objects and writes the data to the specified stream.
SaveToXML(String) Serializes XtraSpellChecker objects and writes the data to the specified XML file.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

Events

Name Description
AfterCheck Occurs when text checking is finished.
AfterCheckWord Occurs after a word is checked.
AfterLoadDictionaries Occurs when the dictionaries have been loaded.
BeforeCheck Occurs before the spell checker begins text processing.
BeforeCheckWord Occurs before a given word is exposed to a search algorithm.
BeforeLoadDictionaries Occurs when the spell checker starts loading dictionaries.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
FinishCheckingMainPart Occurs when the selected part of the text is processed.
NotInDictionaryWordFound Occurs when a word being checked is not found in a dictionary.
PrepareSuggestions Occurs when a misspelled word is found and a list of suggested replacements is created and sorted.
RepeatedWordFound Occurs when a word identical to the previous one is found.
UnhandledException Occurs when an unhandled system exception fires.
WordAdded Occurs after a new word is added to the custom dictionary.
See Also