# MVVM Integration Patterns

> Build an MVVM window around the WPF TextControl: a view model with the document, ZoomFactor binding, RelayCommand, an editor interface and ServerTextControl.

- **Product:** TX Text Control .NET for WPF
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for WPF > Integration Guide > MVVM Integration Patterns
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/mvvm/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/mvvm/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/mvvm/llms-full.txt

---

## On This Page

- [Who Does What](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/mvvm/#who-does-what)
- [Write the View Model](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/mvvm/#write-the-view-model)
- [Write the View](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/mvvm/#write-the-view)
- [Where Code-Behind Remains](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/mvvm/#where-code-behind-remains)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/mvvm/#next-steps)

---

## Nearby

- **Previous:** [Value Converters](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/value-converters/llms.txt)
- **Next:** [Commands and Input Bindings](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/commands/llms.txt)
