Table of Contents

Class EditSpelling

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Represents properties and methods allowing to visually highlight misspelled words in the control.

public class EditSpelling : IEditSpelling, ISpelling
Inheritance
EditSpelling
Implements

Constructors

EditSpelling(TextEditor)

Initializes a new instance of the Spelling class with a specified owner.

Properties

CheckSpelling

Gets or sets a value indicating whether the document can check spelling for its content.

HasSpelling

Gets boolean value indicating that editor has external spell checker assigned.

SpellColor

Gets or sets a value representing color to draw wavy underlines under misspelled words.

SpellDelimiterString

Gets or sets Delimiters as a single string.

SpellDelimiters

Gets or sets an array of chars used to separate words in a text.

SpellTable

Represents a hash table containing delimiters.

Methods

Assign(IEditSpelling)

Copies the contents from another IEditSpelling object.

IsWordCorrect(string)

Checks whether spelling for the given word is correct.

IsWordCorrect(string, Point)

Checks whether spelling for the given word is correct.

OnSpellColorChanged()
ResetCheckSpelling()

Resets the CheckSpelling to the default value.

ResetSpellColor()

Resets the SpellColor to the default value.

ResetSpellDelimiters()

Resets the SpellDelimiters to the default value.

Events

WordSpell

Occurs when spelling of some word within the text needs checking.