Back to Devexpress

SpellCheckerBase Members

corelibraries-devexpress-dot-xtraspellchecker-dot-spellcheckerbase-dot-underscore-members.md

latest14.9 KB
Original Source

SpellCheckerBase Members

Represents the base class for the SpellChecker component.

Constructors

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

Properties

NameDescription
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
ChangeAllListProvides access to the list of words and their counterparts that replace them on every occurrence.
ContainerGets the IContainer that contains the Component. Inherited from Component.
CultureGets or sets the culture-specific settings of the spell checker.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DictionariesProvides access to the spell checker dictionaries collection.
DictionaryHelperProvides access to the object which facilitates dictionary operations.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
IgnoreListProvides access to a list of ignored words.
LevenshteinDistanceGets or sets the parameter used to measure the proximity of words to be included in a suggestion collection.
LoadOnDemandGets or sets whether the dictionary is not loaded until the spell checker language has matched the dictionary language.
OptionsSpellingProvides access to the spelling options set for the SpellCheckerBase instance.
SiteGets or sets the ISite of the Component. Inherited from Component.
SpellingFormTypeGets or sets the type of form that is shown when a possible misspelled word is found.
SuggestionSearchTimeOutGets or sets the timeout for calculating suggestions.
UseSharedDictionariesSpecifies whether the spell checker should use the shared dictionaries collection in a word search. For WinForms Spell Checker only.

Methods

NameDescription
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) staticDetermines 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) protectedReturns 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
OnCustomDictionaryWordAdded(Object, WordAddedEventArgs)For internal use.
ReferenceEquals(Object, Object) staticDetermines 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

NameDescription
AfterCheckOccurs when text checking is finished.
AfterCheckWordOccurs after a word is checked.
AfterLoadDictionariesOccurs when the dictionaries have been loaded.
BeforeCheckOccurs before the spell checker begins text processing.
BeforeCheckWordOccurs before a given word is exposed to a search algorithm.
BeforeLoadDictionariesOccurs when the spell checker starts loading dictionaries.
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
FinishCheckingMainPartOccurs when the selected part of the text is processed.
NotInDictionaryWordFoundOccurs when a word being checked is not found in a dictionary.
PrepareSuggestionsOccurs when a misspelled word is found and a list of suggested replacements is created and sorted.
RepeatedWordFoundOccurs when a word identical to the previous one is found.
UnhandledExceptionOccurs when an unhandled system exception fires.
WordAddedOccurs after a new word is added to the custom dictionary.

See Also

SpellCheckerBase Class

DevExpress.XtraSpellChecker Namespace