# Binding Document Content

> Bind WPF toolbars to InputFormat and CanUndo in XAML, and bind the whole document to a view model byte array with an attached property using Load and Save.

- **Product:** TX Text Control .NET for WPF
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for WPF > Integration Guide > Data Binding > Binding Document Content
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/document-content/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/document-content/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/document-content/llms-full.txt

---

## On This Page

- [What Can Be Bound](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/document-content/#what-can-be-bound)
- [Bind to the Formatting at the Input Position](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/document-content/#bind-to-the-formatting-at-the-input-position)
- [Bind the Whole Document](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/document-content/#bind-the-whole-document)
- [Choose the Format of the Bound Data](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/document-content/#choose-the-format-of-the-bound-data)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/document-content/#next-steps)

---

## Nearby

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