Back to Devexpress

ISpellCheck Interface

aspnetcore-js-devexpress-dot-richedit-130b93a9.md

latest1.6 KB
Original Source

ISpellCheck Interface

Declares spell checking settings.

Declaration

ts
export interface ISpellCheck

See Also

Spell Check

Properties

addWordToDictionary Property

Specifies a function that is called when a user clicks the Add to Dictionary context menu command.

Declaration

ts
addWordToDictionary?: (word: string) => void

Property Value

TypeDescription
(word: string) => void

A function that adds the selected word to the dictionary.

|

checkWordSpelling Property

Specifies the function that checks a word.

Declaration

ts
checkWordSpelling?: (word: string, callback: (isCorrect: boolean, suggestions: string[]) => void) => void

Property Value

TypeDescription
(word: string, callback: (isCorrect: boolean, suggestions: string[]) => void) => void

A function that checks the selected word and then calls the callback function. The isCorrect parameter specifies whether the word is correct and the suggestions parameter lists alternatives.

|

enabled Property

Specifies whether the spell checking is enabled in the RichEdit control.

Declaration

ts
enabled?: boolean

Property Value

TypeDescription
boolean

true to enable spell check; otherwise, false.

|

suggestionCount Property

The maximum number of suggested words that can be displayed in the context menu.

Declaration

ts
suggestionCount?: number

Property Value

TypeDescription
number

The number of words.

|