Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ISpellCheck Interface

Declares spell checking settings.

#Declaration

TypeScript
export interface ISpellCheck
See Also

#Properties

#addWordToDictionary Property

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

#Declaration

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

#Property Value

Type Description
(word: string) => void

A function that adds the selected word to the dictionary.

#checkWordSpelling Property

Specifies the function that checks a word.

#Declaration

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

#Property Value

Type Description
(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

TypeScript
enabled?: boolean

#Property Value

Type Description
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

TypeScript
suggestionCount?: number

#Property Value

Type Description
number

The number of words.