SpellChecker.GetCommandsByError(SpellCheckErrorBase) Method

Creates a list of commands, available to the end-user, which depend on the type of misspelling and current spellchecker operation mode.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.XtraSpellChecker.v21.2.dll


public override List<SpellCheckerCommand> GetCommandsByError(
    SpellCheckErrorBase error


Name Type Description
error SpellCheckErrorBase

A DevExpress.XtraSpellChecker.Rules.SpellCheckErrorBase object, representing a situation when a misspelled word is found.


Type Description

A generic list of SpellCheckerCommand objects.


The GetCommandsByError method is used to construct menu commands, depending on the SpellCheckMode, specific to different spelling check failure situations, such as misspelled word with suggestions available, the same with no suggestions, repeated word and so on.

See Also