# WPF Layout and Resizing

> Arrange the WPF TextControl, ButtonBar, RulerBar and StatusBar in a DockPanel or Grid with GridSplitter, and choose the ViewMode that fits a resizing window.

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

---

## On This Page

- [How the Editor Gets Its Size](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/layout/#how-the-editor-gets-its-size)
- [Arrange the Editor and Its Bars in a DockPanel](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/layout/#arrange-the-editor-and-its-bars-in-a-dockpanel)
- [Place the Editor in a Grid](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/layout/#place-the-editor-in-a-grid)
- [Let the Document Follow the Control](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/layout/#let-the-document-follow-the-control)
- [Show and Hide Parts of the Layout](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/layout/#show-and-hide-parts-of-the-layout)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/layout/#next-steps)

---

## Nearby

- **Previous:** [Commands and Input Bindings](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/commands/llms.txt)
- **Next:** [Resource Dictionaries and Styling](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/styling/llms.txt)
