SpellChecker.GetCommandsByError(SpellCheckErrorBase) Method
Creates a list of commands available to an end-user, which depend on the type of misspelling and current spell checker operation mode.
Namespace: DevExpress.Xpf.SpellChecker
Assembly: DevExpress.Xpf.SpellChecker.v24.2.dll
NuGet Package: DevExpress.Wpf.SpellChecker
#Declaration
public override List<SpellCheckerCommand> GetCommandsByError(
SpellCheckErrorBase error
)
#Parameters
Name | Type | Description |
---|---|---|
error | Spell |
A DevExpress. |
#Returns
Type | Description |
---|---|
List<Spell |
A generic list of Spell |
#Remarks
The GetCommandsByError method is used to construct menu commands, dependent on the SpellCheckMode, specific to different spelling check failure situations, such as a misspelled word with suggestions available, the same with no suggestions, repeated word and so on.