# RichTextBox

> Spell check the WPF RichTextBox with a TXSpellChecker resource: map text positions to the FlowDocument, color misspelled words and correct them in a dialog.

- **Product:** TX Spell .NET for WPF
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Spell .NET for WPF > Getting Started > RichTextBox
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/getting-started/richtextbox/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/getting-started/richtextbox/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/getting-started/richtextbox/llms-full.txt

---

## On This Page

- [How It Works](https://docs.textcontrol.com/tx-spell-dotnet-wpf/getting-started/richtextbox/#how-it-works)
- [Recommended Order](https://docs.textcontrol.com/tx-spell-dotnet-wpf/getting-started/richtextbox/#recommended-order)
- [Pages in This Section](https://docs.textcontrol.com/tx-spell-dotnet-wpf/getting-started/richtextbox/#pages-in-this-section)

---

## In This Section

- [Check Spelling as You Type](https://docs.textcontrol.com/tx-spell-dotnet-wpf/getting-started/richtextbox/as-you-type/llms.txt): Color misspelled words red in a WPF RichTextBox as users type: Check the FlowDocument text, find each IncorrectWord with TextPointer and apply the color.
- [Open the Spell Check Dialog](https://docs.textcontrol.com/tx-spell-dotnet-wpf/getting-started/richtextbox/dialog/llms.txt): Open the spell check dialog for a WPF RichTextBox with Check and Show(Window), and write corrections back into the FlowDocument in IncorrectWordChanging.

---

## Nearby

- **Previous:** [Open the Spell Check Dialog](https://docs.textcontrol.com/tx-spell-dotnet-wpf/getting-started/tx-text-control/dialog/llms.txt)
- **Next:** [Check Spelling as You Type](https://docs.textcontrol.com/tx-spell-dotnet-wpf/getting-started/richtextbox/as-you-type/llms.txt)
