# .NET API

> Browse the two namespaces of TX Spell .NET for WPF, TXTextControl.Proofing and TXTextControl.WPF.Proofing: which classes live where, and why WPF splits them.

- **Product:** TX Spell .NET for WPF
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Spell .NET for WPF > API Reference > .NET API
- **1382 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/dotnet-api/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/dotnet-api/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/dotnet-api/llms-full.txt

---

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

| Namespace | What it contains | Start with |
|---|---|---|
| [TXTextControl.Proofing](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/llms-full.txt) | The spell checking engine and what both editions share: `TXSpell`, dictionaries and lists, results, most event arguments and the enumerations | [TXSpell](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell/llms-full.txt), [Dictionary](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/dictionary/llms-full.txt) |
| [TXTextControl.WPF.Proofing](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/llms-full.txt) | The 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 dialogs | [TXSpellChecker](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/llms-full.txt), [SpellCheckDialog](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/llms-full.txt) |

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

| Task | Classes |
|---|---|
| The spell checker | [TXSpellChecker](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/llms-full.txt), the component declared in XAML; [TXSpell](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell/llms-full.txt), the engine for code without a user interface |
| Dictionaries | [Dictionary](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/dictionary/llms-full.txt), [OpenOfficeDictionary](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/openofficedictionary/llms-full.txt), [UserDictionary](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/userdictionary/llms-full.txt) and [DictionaryCollection](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/dictionarycollection/llms-full.txt) |
| Hyphenation and synonyms | [HyphenationList](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/hyphenationlist/llms-full.txt), [SynonymList](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/synonymlist/llms-full.txt), [SynonymGroup](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/synonymgroup/llms-full.txt) and [Synonym](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/synonym/llms-full.txt), with their collections |
| Results | [IncorrectWord](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectword/llms-full.txt), [Suggestion](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/suggestion/llms-full.txt) and [LanguageScope](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/languagescope/llms-full.txt), with their collections |
| The spell check dialog | [SpellCheckDialog](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/llms-full.txt), [SpellCheckDialogStateManager](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/llms-full.txt), [DialogButton](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbutton/llms-full.txt), [Preview](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/preview/llms-full.txt) and [SuggestionList](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/suggestionlist/llms-full.txt) |
| Context menus | [MenuItem](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/menuitem/llms-full.txt), the items that `GetMenuItems` returns |
| A user interface of your own | [SpellingCorrectionUIProvider](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/llms-full.txt) and its handlers |
| Events | The event arguments, such as [IncorrectWordChangingEventArgs](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectwordchangingeventargs/llms-full.txt) and [SpellCheckDialogClosingEventArgs](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogclosingeventargs/llms-full.txt) |
| Settings | The enumerations of [TXSpell](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell/llms-full.txt), such as [TXSpell.IgnoreWordSettings](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell-ignorewordsettings/enumeration/llms-full.txt) and [TXSpell.ChangeType](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell-changetype/enumeration/llms-full.txt) |

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](https://docs.textcontrol.com/tx-spell-dotnet-wpf/integration/tx-text-control/llms-full.txt) lists the members that work with TX Spell .NET.

### Find the Right Class

| If you want to | Start with |
|---|---|
| Check the spelling as the user types or on demand | [TXSpellChecker](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/llms-full.txt) |
| Check a string in code | [TXSpell](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell/llms-full.txt), or [Check](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/check-method/llms-full.txt) of the spell checker |
| Add a language or words of your own | [OpenOfficeDictionary](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/openofficedictionary/llms-full.txt), [UserDictionary](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/userdictionary/llms-full.txt) |
| Change the spell check dialog | [SpellCheckDialog](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/llms-full.txt) |
| Build a correction form of your own | [SpellingCorrectionUIProvider](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/llms-full.txt) |

The pages of [Spell Checking](https://docs.textcontrol.com/tx-spell-dotnet-wpf/spell-checking/llms-full.txt), [Dictionaries and Languages](https://docs.textcontrol.com/tx-spell-dotnet-wpf/dictionaries/llms-full.txt) and [User Interface](https://docs.textcontrol.com/tx-spell-dotnet-wpf/user-interface/llms-full.txt) show these classes at work and link each member they use to its reference page.

### Pages in This Section

- [TXTextControl.Proofing](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/llms-full.txt): the spell checking classes both editions share.
- [TXTextControl.WPF.Proofing](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/llms-full.txt): the WPF spell checker and its user interface.

---

## Nearby

- **Previous:** [API Reference](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/llms-full.txt)
- **Next:** [TXTextControl.Proofing namespace](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/llms-full.txt)
