# Data Binding

> Which TextControl properties are binding targets, why InputFormat and CanUndo are sources, and how bars, the document and converters fit into WPF bindings.

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

---

## On This Page

- [How Binding Works With the TextControl](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/#how-binding-works-with-the-textcontrol)
- [Find the Right Page](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/#find-the-right-page)
- [Pages in This Section](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/#pages-in-this-section)

---

## In This Section

- [Binding Document Content](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/document-content/llms.txt): 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.
- [TextControlDocument](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/textcontroldocument/llms.txt): Get the TXPART_Document canvas of the WPF TextControl with Template.FindName or OnApplyTemplate, bind to its size and convert positions with PointToDocument.
- [Value Converters](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/value-converters/llms.txt): Use MeasureConverter, ColorConverter, BooleanConverter and LogarithmicConverter to show twips in points, text colors, list formats and a zoom slider in WPF.

---

## Nearby

- **Previous:** [Control Initialization and Document Access](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/initialization/llms.txt)
- **Next:** [TextControlDocument](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/data-binding/textcontroldocument/llms.txt)
