# UI Threading and Background Operations

> Run TX Text Control work off the Windows Forms UI thread: ServerTextControl in Task.Run, InvokeRequired, BeginInvoke, progress, cancel and parallel loops.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for Windows Forms > Performance > UI Threading and Background Operations
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/performance/threading/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/performance/threading/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/performance/threading/llms-full.txt

---

## On This Page

- [Which Thread Runs What](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/performance/threading/#which-thread-runs-what)
- [Save the Editor's Document in the Background](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/performance/threading/#save-the-editor-s-document-in-the-background)
- [Bring a Result Back to the Editor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/performance/threading/#bring-a-result-back-to-the-editor)
- [Convert Many Files With Progress and Cancel](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/performance/threading/#convert-many-files-with-progress-and-cancel)
- [How Far Threads Take You](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/performance/threading/#how-far-threads-take-you)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/performance/threading/#next-steps)

---

## Nearby

- **Previous:** [Performance](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/performance/llms.txt)
- **Next:** [Large Documents](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/performance/large-documents/llms.txt)
