[]
        
(Showing Draft Content)

C1.WPF.SpellChecker.C1SpellChecker

C1SpellChecker Class

Default implementations for the C1.WPF.ISpellChecker. Provides spell checking services for any type of control.

Inheritance
C1SpellChecker
Implements
ISpellChecker
Namespace: C1.WPF.SpellChecker
Assembly: C1.WPF.SpellChecker.4.6.2.dll
Syntax
public class C1SpellChecker : ISpellChecker

Constructors

Name Description
C1SpellChecker()

Initializes a new instance of a C1SpellChecker.

Properties

Name Description
CustomDictionary

Gets or sets a custom spell-checking dictionary.

CustomParser

Gets or sets a custom spell-checking parser.

Enabled

Gets a value that indicates whether the main spelling dictionary has been loaded.

IgnoreList

Gets the list of words to ignore during spell-checking.

MainDictionary

Gets the main dictionary used for spell-checking.

Options

Gets a SpellOptions object that specifies spell-checking options.

UserDictionary

Gets the user dictionary used for spell-checking.

Methods

Name Description
CheckControlAsync(object)

Shows a spell-checking dialog for an editor control.

CheckControlAsync(object, bool)

Shows a spell-checking dialog for an editor control.

CheckControlAsync(object, bool, ISpellDialog)

Shows a spell-checking dialog for an editor control.

CheckText(string)

Checks a string containing text and returns a list of spelling errors.

CheckText(string, int)

Checks a string containing text and returns a list of spelling errors.

CheckText(string, int, int)

Checks a string containing text and returns a list of spelling errors.

CheckWord(string)

Checks a word to see if it's spelled correctly.

GetSuggestions(string)

Gets an array containing suggestions for a misspelled word.

GetSuggestions(string, int)

Gets an array containing suggestions for a misspelled word.

OnBadWordFound(BadWordEventArgs)

Raises the BadWordFound event.

OnCheckControlCompleted(CheckControlCompletedEventArgs)

Raises the CheckControlCompleted event.

OnContextMenuCreated(ContextMenuEventArgs)

Raises the ContextMenuCreated event.

OnDictionaryChanged(EventArgs)

Raises the DictionaryChanged event.

Events

Name Description
BadWordFound

Event that fires when a spelling error is found by the C1SpellChecker.

CheckControlCompleted

Event that fires when the CheckControlAsync(object) method finishes spell-checking a control.

ContextMenuCreated

Event that fires when a context menu is created containing the spelling suggestions and commands.

DictionaryChanged

Event that fires when any of the spell dictionaries changes in any way.