# Subtext Parts

> Use SubTextPart in a WPF TextControl to name text ranges such as contract clauses, attach JSON data, highlight, save and remove them and handle their events.

- **Product:** TX Text Control .NET for WPF
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for WPF > Document Editor > Subtext Parts
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/subtext-parts/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/subtext-parts/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/subtext-parts/llms-full.txt

---

## On This Page

- [What a Subtext Part Is](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/subtext-parts/#what-a-subtext-part-is)
- [Mark the Selected Text](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/subtext-parts/#mark-the-selected-text)
- [List and Find Subtext Parts](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/subtext-parts/#list-and-find-subtext-parts)
- [Save and Remove a Subtext Part](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/subtext-parts/#save-and-remove-a-subtext-part)
- [Handle Subtext Part Events](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/subtext-parts/#handle-subtext-part-events)
- [Subtext Parts in Files](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/subtext-parts/#subtext-parts-in-files)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/subtext-parts/#next-steps)

---

## Nearby

- **Previous:** [Fields, Hyperlinks, and Bookmarks](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/fields/llms.txt)
- **Next:** [Form Fields and Conditional Instructions](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/form-fields/llms.txt)
