# TX Spell .NET for Windows Forms

> Spell check Windows Forms apps with the TXSpellChecker component on a form: TextControl and RichTextBox, a spelling dialog, hyphenation, synonyms and TXSpell.

- **Product:** TX Spell .NET for Windows Forms
- **Kind:** Topic
- **Path:** TX Spell .NET for Windows Forms
- **1515 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/llms-full.txt

---

TX Spell .NET for Windows Forms adds spell checking to a Windows Forms application. You drop the component on a form and connect it to the control whose text should be checked: misspelled words are marked as the user types, suggestions are offered, and a dialog walks through the document word by word. It works with TX Text Control, with the standard text controls, and with text you hand it directly.

Spelling is not all of it. The same component hyphenates text, detects which language a passage is written in, and looks up synonyms, so one set of language data serves the spelling, the line breaks and the thesaurus in your application.

The language data is the freely distributable Hunspell dictionaries from OpenOffice, which cover more than 60 languages, including right-to-left languages such as Arabic, Farsi, Hebrew and Urdu. English is installed with the component; the others are downloaded and shipped with your application.

![A TextControl with misspelled words underlined in red and the spell check context menu of the word "sampke", with suggestions, Ignore, Ignore All, Add To Dictionary, Spell Check Dialog and Options.](https://docs.textcontrol.com/assets/img/tx-spell-dotnet-winforms/textcontrol-context-menu.5b60b5a7.webp)

### What It Gives Your Application

| Task | Main classes |
|---|---|
| Check spelling as the user types, or on demand | [TXSpellChecker](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/llms-full.txt) |
| Walk a user through the misspelled words with suggestions | [SpellCheckDialog](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/llms-full.txt) |
| Check against dictionaries in the Hunspell and OpenOffice format | [OpenOfficeDictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/openofficedictionary/llms-full.txt) |
| Let users add their own words, and keep them between sessions | [UserDictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/userdictionary/llms-full.txt) |
| Hyphenate text with Hunspell hyphenation rules | [HyphenationList](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/hyphenationlist/llms-full.txt) |
| Offer synonyms from a thesaurus | [SynonymList](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/synonymlist/llms-full.txt) |
| Detect which language a passage is written in | [LanguageScope](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/languagescope/llms-full.txt) |
| Check text in code, with no control and no user interface | [TXSpell](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/llms-full.txt) |

Any number of dictionaries and user dictionaries can be loaded at the same time, so a document written in more than one language is checked in all of them. One spell checker serves every control on a form — you do not need an instance per editor.

With TX Text Control, connecting the two takes no code at all: set the editor's spell checker and switch on spell checking in the designer, and misspelled words are underlined as they are typed and corrected from the context menu.

### Who This Documentation Is for

It is written for .NET developers building Windows desktop applications, and it assumes you know C# or Visual Basic and Windows Forms. It does not assume you know anything about TX Spell .NET, or that you use TX Text Control: the component checks other controls just as well.

### How This Documentation Is Organized

- **[Overview](https://docs.textcontrol.com/tx-spell-dotnet-winforms/overview/llms-full.txt)** explains what the component does, how its parts fit together, which platforms and languages it supports, and how it is licensed.
- **[Installation Guide](https://docs.textcontrol.com/tx-spell-dotnet-winforms/installation/llms-full.txt)** covers the requirements, the packages and the licensing you need before you write any code, and the language data you ship with your application.
- **[Getting Started](https://docs.textcontrol.com/tx-spell-dotnet-winforms/getting-started/llms-full.txt)** connects the component to a control and checks its first document.
- **[Spell Checking](https://docs.textcontrol.com/tx-spell-dotnet-winforms/spell-checking/llms-full.txt)** covers checking as the user types and on demand, suggestions, ignore settings, and checking several controls at once.
- **[Dictionaries and Languages](https://docs.textcontrol.com/tx-spell-dotnet-winforms/dictionaries/llms-full.txt)** covers Hunspell dictionaries, user dictionaries, documents in more than one language, and language detection.
- **[Hyphenation](https://docs.textcontrol.com/tx-spell-dotnet-winforms/hyphenation/llms-full.txt)** hyphenates text with Hunspell hyphenation lists, in TX Text Control and in code.
- **[Synonyms and Thesaurus](https://docs.textcontrol.com/tx-spell-dotnet-winforms/synonyms/llms-full.txt)** offers synonyms in the context menu and looks them up in code.
- **[User Interface](https://docs.textcontrol.com/tx-spell-dotnet-winforms/user-interface/llms-full.txt)** covers the spell check dialog, the options dialog, the context menus and the suggestion controls, and how to customize and localize them.
- **[Integration Guide](https://docs.textcontrol.com/tx-spell-dotnet-winforms/integration/llms-full.txt)** connects the component to TX Text Control .NET for Windows Forms, the Windows Forms RichTextBox and TextBox and other controls, and to the Document Editor of TX Text Control .NET Server.
- **[Deployment Guide](https://docs.textcontrol.com/tx-spell-dotnet-winforms/deployment/llms-full.txt)** covers the assemblies and language data folders you ship, and how to publish and license your Windows Forms application.
- **[Troubleshooting](https://docs.textcontrol.com/tx-spell-dotnet-winforms/troubleshooting/llms-full.txt)** collects the common problems with installation, licensing, dictionaries and deployment, and how to solve them.
- **[Examples](https://docs.textcontrol.com/tx-spell-dotnet-winforms/examples/llms-full.txt)** lists the sample applications and code examples.
- **[What's New](https://docs.textcontrol.com/tx-spell-dotnet-winforms/whats-new/llms-full.txt)** describes what changed in each version, the service packs, the breaking changes and the deprecated APIs.
- **[API Reference](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/llms-full.txt)** documents every class, property, method and event of the .NET API.

### The .NET API

The [.NET API](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/dotnet-api/llms-full.txt) is one namespace.

[TXTextControl.Proofing](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/llms-full.txt) holds the spell checking component and its dialogs, the dictionary, hyphenation and synonym classes, and the events that report an incorrect word and what was done about it.

### Where to Start

1. [Overview](https://docs.textcontrol.com/tx-spell-dotnet-winforms/overview/llms-full.txt): what the component does and what the language data is.
2. [Installation Guide](https://docs.textcontrol.com/tx-spell-dotnet-winforms/installation/llms-full.txt): what has to be in place first.
3. [Getting Started](https://docs.textcontrol.com/tx-spell-dotnet-winforms/getting-started/llms-full.txt): checking a first document.
4. [TXSpellChecker](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/llms-full.txt): the class you will spend the most time in.

### Getting Help

- **Something does not work.** [Troubleshooting](https://docs.textcontrol.com/tx-spell-dotnet-winforms/troubleshooting/llms-full.txt) collects the common problems with packages, the toolbox, licenses, dictionaries and deployment, and how to fix them.
- **You need working code.** [Examples](https://docs.textcontrol.com/tx-spell-dotnet-winforms/examples/llms-full.txt) lists the samples the setup installs and the sample repositories of [Text Control on GitHub](https://github.com/TextControl).
- **You need Text Control's support team.** Registered users and developers who evaluate the trial version get free technical support, and the support engineers answer in English and German. The [contact page](https://www.textcontrol.com/contact/) lists the ways to reach them, and the subscription that comes with a license includes technical support, as the [Licensing Overview](https://docs.textcontrol.com/tx-spell-dotnet-winforms/overview/licensing/#subscription-and-updates) describes.

---

## In This Section

- [Deployment Guide](https://docs.textcontrol.com/tx-spell-dotnet-winforms/deployment/llms-full.txt): Deploy a Windows Forms application with TX Spell .NET: assemblies and language data folders, publishing on .NET or .NET Framework, royalty-free licensing.
- [Dictionaries and Languages](https://docs.textcontrol.com/tx-spell-dotnet-winforms/dictionaries/llms-full.txt): Manage TX Spell .NET dictionaries in Windows Forms: Hunspell files, the Dictionaries collection, user dictionaries, multilingual text and language detection.
- [Examples](https://docs.textcontrol.com/tx-spell-dotnet-winforms/examples/llms-full.txt): Sample code for TX Spell .NET for Windows Forms: the samples of the setup, GitHub repositories and blog articles by topic, with the version of each.
- [Getting Started](https://docs.textcontrol.com/tx-spell-dotnet-winforms/getting-started/llms-full.txt): Start spell checking in Windows Forms: tutorials for TX Text Control connected in the designer, RichTextBox and TextBox, and text checked in code with TXSpell.
- [Hyphenation](https://docs.textcontrol.com/tx-spell-dotnet-winforms/hyphenation/llms-full.txt): Hyphenate text in Windows Forms apps with TX Spell .NET: Hunspell hyphenation lists in 24 languages, automatic hyphenation in TX Text Control and in code.
- [Installation Guide](https://docs.textcontrol.com/tx-spell-dotnet-winforms/installation/llms-full.txt): Install TX Spell .NET for Windows Forms: requirements, the setup, NuGet packages and sources, the toolbox, language data, licensing and upgrades.
- [Integration Guide](https://docs.textcontrol.com/tx-spell-dotnet-winforms/integration/llms-full.txt): Integrate TX Spell .NET with a Windows Forms TextControl, a RichTextBox or TextBox, a DataGridView or other controls, and the TX Text Control Document Editor.
- [Overview](https://docs.textcontrol.com/tx-spell-dotnet-winforms/overview/llms-full.txt): What TX Spell .NET for Windows Forms does, how TXSpellChecker and TXSpell fit together, and its platforms, languages and licensing, with a guide to each page.
- [API Reference](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/llms-full.txt): Look up TXSpellChecker, TXSpell and each member of TXTextControl.Proofing for Windows Forms: C# and Visual Basic syntax, parameters and version added.
- [Spell Checking](https://docs.textcontrol.com/tx-spell-dotnet-winforms/spell-checking/llms-full.txt): Add spell checking to Windows Forms apps with TXSpellChecker: underline words as users type, open the spelling dialog, read suggestions and ignore words.
- [Synonyms and Thesaurus](https://docs.textcontrol.com/tx-spell-dotnet-winforms/synonyms/llms-full.txt): Offer synonyms in Windows Forms with TX Spell .NET: thesaurus files per language, the Thesaurus Dialog of TX Text Control and CreateSynonyms in code.
- [Troubleshooting](https://docs.textcontrol.com/tx-spell-dotnet-winforms/troubleshooting/llms-full.txt): Fix TX Spell .NET problems in Windows Forms by symptom: packages that don't restore, a missing toolbox tab, the trial dialog, missing dictionaries, deployment.
- [User Interface](https://docs.textcontrol.com/tx-spell-dotnet-winforms/user-interface/llms-full.txt): The spell check dialog, options dialog, context menu and suggestion lists of TX Spell .NET in Windows Forms: what users see and how you change each part.
- [What's New](https://docs.textcontrol.com/tx-spell-dotnet-winforms/whats-new/llms-full.txt): Release dates of TX Spell .NET for Windows Forms 3.0 to 11.0, the TX Text Control version each came with, what it brought, service packs and breaking changes.

---

## Nearby

- **Next:** [Overview](https://docs.textcontrol.com/tx-spell-dotnet-winforms/overview/llms-full.txt)
