TX Spell .NET for WPF

.NET API

Topic

Every class, property, method and event that your code calls is documented in the .NET class library reference, sorted by namespace. TX Spell .NET for WPF has two namespaces, TXTextControl.Proofing and TXTextControl.WPF.Proofing. A namespace's page in the reference lists its classes and enumerations, and a class's page lists its members.

Namespaces

NamespaceWhat it containsStart with
TXTextControl.ProofingThe spell checking engine and what both editions share: TXSpell, dictionaries and lists, results, most event arguments and the enumerationsTXSpell, Dictionary
TXTextControl.WPF.ProofingThe WPF spell checker and its user interface: TXSpellChecker, the spell check dialog, its buttons and preview, the menu items and the event arguments of the dialogsTXSpellChecker, SpellCheckDialog

The WPF edition splits its classes: the user interface is in TXTextControl.WPF.Proofing, in the assembly TXSpell.WPF.dll, and everything else in TXTextControl.Proofing, in TXSpell.dll. A class of the dialog or the menus is therefore written TXTextControl.WPF.Proofing.SpellCheckDialog, and a dictionary TXTextControl.Proofing.UserDictionary. The event arguments of the dialog and the menus belong to TXTextControl.WPF.Proofing; those of changing words and dictionaries to TXTextControl.Proofing.

The Classes by Task

TaskClasses
The spell checkerTXSpellChecker, the component declared in XAML; TXSpell, the engine for code without a user interface
DictionariesDictionary, OpenOfficeDictionary, UserDictionary and DictionaryCollection
Hyphenation and synonymsHyphenationList, SynonymList, SynonymGroup and Synonym, with their collections
ResultsIncorrectWord, Suggestion and LanguageScope, with their collections
The spell check dialogSpellCheckDialog, SpellCheckDialogStateManager, DialogButton, Preview and SuggestionList
Context menusMenuItem, the items that GetMenuItems returns
A user interface of your ownSpellingCorrectionUIProvider and its handlers
EventsThe event arguments, such as IncorrectWordChangingEventArgs and SpellCheckDialogClosingEventArgs
SettingsThe enumerations of TXSpell, such as TXSpell.IgnoreWordSettings and TXSpell.ChangeType

The class TextControl of TX Text Control, which uses the spell checker, belongs to TX Text Control .NET for WPF and is documented there; TX Text Control .NET for WPF lists the members that work with TX Spell .NET.

Find the Right Class

If you want toStart with
Check the spelling as the user types or on demandTXSpellChecker
Check a string in codeTXSpell, or Check of the spell checker
Add a language or words of your ownOpenOfficeDictionary, UserDictionary
Change the spell check dialogSpellCheckDialog
Build a correction form of your ownSpellingCorrectionUIProvider

The pages of Spell Checking, Dictionaries and Languages and User Interface show these classes at work and link each member they use to its reference page.

Pages in This Section