TX Spell .NET for Windows Forms

Components

Topic

TX Spell .NET for Windows Forms consists of one component you place on a form, the dialogs and menus it brings, and one class for code without a user interface. Knowing which is which tells you what to add to a project and which page to read next.

Your Windows Forms application sits above the four components of TX Spell .NET: TXSpellChecker on a form, the spell check and options dialogs and the context menu and suggestions in TXSpellChecker, and TXSpell without a user interface. All four use the same language data.

The Components at a Glance

ComponentWhat it isPackageNamespace
TXSpellCheckerThe spell checking component: connects to TX Text Control, checks other controls, hyphenates, finds synonyms and detects languagesTXTextControl.TXSpell.WinForms.SDKTXTextControl.Proofing
Spell Check Dialog and Options DialogThe built-in dialogs for correcting words and for the settingsTXTextControl.TXSpell.WinForms.SDKTXTextControl.Proofing
Context Menu and Suggestion ControlsThe spell check menu of TX Text Control, menu items for your own menus, and the suggestion lists of the dialogTXTextControl.TXSpell.WinForms.SDKTXTextControl.Proofing
TXSpellThe same checks without a user interface, for code, services and serversTXTextControl.TXSpell.Core.SDK, and the Windows Forms packageTXTextControl.Proofing

All packages have the version 11.0.1 and target .NET 8. The setup of TX Spell .NET provides them through the package source Text Control Offline Packages. The Windows Forms package contains TXSpell.dll, the engine that all packages share, and TXSpell.Windows.Forms.dll with the component and its dialogs. The classes of the language data, such as OpenOfficeDictionary, UserDictionary and HyphenationList, are in the same namespace.

How the Components Work Together

A TextControl with a connected TXSpellChecker asks it about each word the user types, underlines the misspelled ones and opens the spell check menu on a right-click. The menu opens both dialogs, and the spell check dialog opens the options dialog. Your code reaches all of them through the TXSpellChecker: the dialog through its SpellCheckDialog property, the options through OptionsDialog, the menu items through GetMenuItems.

TXSpell has the same methods for checking, suggestions, hyphenation, synonyms and language detection, but no dialogs, menus or events. It is what TX Text Control .NET Server uses, in code and behind its Document Editor. Product Architecture shows the assemblies and the language data behind the components.

Choose a Component

Your text is inUseStart with
A TX Text Control editorTXSpellChecker, connected through the SpellChecker propertyCreate Your First Windows Forms Application
A RichTextBox, a TextBox or another controlTXSpellChecker and its Check methodRichTextBox and TextBox
No control: a string, a file, a service or a serverTXSpellChecking Text in Code

Pages in This Section