# Components

> TXSpellChecker as a XAML resource with its dialogs and context menu, or TXSpell for code without UI: the components of TX Spell .NET for WPF and namespaces.

- **Product:** TX Spell .NET for WPF
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Spell .NET for WPF > Overview > Components
- **826 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/llms-full.txt

---

TX Spell .NET for WPF consists of one component you declare in the XAML of a window, 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 WPF application sits above the four components of TX Spell .NET: TXSpellChecker as a XAML resource, 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.](https://docs.textcontrol.com/assets/img/tx-spell-dotnet-wpf/components.ef0920a6.svg)

### The Components at a Glance

| Component | What it is | Package | Namespace |
|---|---|---|---|
| [TXSpellChecker](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/txspellchecker/llms-full.txt) | The spell checker: connects to TX Text Control, checks other controls, hyphenates, finds synonyms and detects languages | `TXTextControl.TXSpell.WPF.SDK` | `TXTextControl.WPF.Proofing` |
| [Spell Check Dialog and Options Dialog](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/dialogs/llms-full.txt) | The built-in dialogs for correcting words and for the settings | `TXTextControl.TXSpell.WPF.SDK` | `TXTextControl.WPF.Proofing` |
| [Context Menu and Suggestion Controls](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/context-menu/llms-full.txt) | The spell check menu of TX Text Control, menu items for your own menus, and the suggestion lists of the dialog | `TXTextControl.TXSpell.WPF.SDK` | `TXTextControl.WPF.Proofing` |
| [TXSpell](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/txspell/llms-full.txt) | The same checks without a user interface, for code, services and servers | `TXTextControl.TXSpell.Core.SDK`, and the WPF package | `TXTextControl.Proofing` |

[Package Overview](https://docs.textcontrol.com/tx-spell-dotnet-wpf/installation/nuget/packages/llms-full.txt) describes what each package contains, and [Product Architecture](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/architecture/#the-two-classes) the assemblies and namespaces of the two classes.

### 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.

### Choose a Component

| Your text is in | Use | Start with |
|---|---|---|
| A TX Text Control editor | `TXSpellChecker`, connected through the `SpellChecker` property | [Create Your First WPF Application](https://docs.textcontrol.com/tx-spell-dotnet-wpf/getting-started/tx-text-control/first-application/llms-full.txt) |
| A `RichTextBox`, a `TextBox` or another control | `TXSpellChecker` and its `Check` method | [RichTextBox](https://docs.textcontrol.com/tx-spell-dotnet-wpf/getting-started/richtextbox/llms-full.txt) |
| No control: a string, a file, a service or a server | `TXSpell` | [Checking Text in Code](https://docs.textcontrol.com/tx-spell-dotnet-wpf/getting-started/in-code/llms-full.txt) |

### Pages in This Section

- [TXSpellChecker](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/txspellchecker/llms-full.txt): the spell checker, how it connects, an example and its key members.
- [Spell Check Dialog and Options Dialog](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/dialogs/llms-full.txt): the two built-in dialogs and what can be changed about them.
- [Context Menu and Suggestion Controls](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/context-menu/llms-full.txt): the spell check menu, menu items and the lists that show suggestions.
- [TXSpell](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/txspell/llms-full.txt): spell checking without a user interface, on Windows and Linux.

---

## In This Section

- [Context Menu and Suggestion Controls](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/context-menu/llms-full.txt): The spell check menu of a WPF TextControl and its SpellCheckContextMenu property, GetMenuItems for a ContextMenu of your own, and where suggestions appear.
- [Spell Check Dialog and Options Dialog](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/dialogs/llms-full.txt): The Spelling and Options dialogs of TX Spell .NET for WPF at a glance: what each dialog shows, how it opens, and which pages describe its parts and settings.
- [TXSpell](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/txspell/llms-full.txt): Spell checking without a WPF window: the TXSpell class of TXTextControl.TXSpell.Core.SDK for services, servers and Linux, compared with the XAML TXSpellChecker.
- [TXSpellChecker](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/txspellchecker/llms-full.txt): TXSpellChecker, the XAML resource of TX Spell .NET for WPF: what it checks, how it connects to a TextControl or other controls, and its key members by task.

---

## Nearby

- **Previous:** [Product Architecture](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/architecture/llms-full.txt)
- **Next:** [TXSpellChecker](https://docs.textcontrol.com/tx-spell-dotnet-wpf/overview/components/txspellchecker/llms-full.txt)
