# .NET API

> Find the namespace of a WPF class: TextControl and ribbon tabs in TXTextControl.WPF, ServerTextControl, MailMerge, merge block dialogs, barcodes and drawings.

- **Product:** TX Text Control .NET for WPF
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for WPF > API Reference > .NET API
- **2043 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/dotnet-api/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/dotnet-api/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/dotnet-api/llms-full.txt

---

TX Text Control .NET for WPF splits its classes between namespaces for WPF and namespaces it shares with the other TX Text Control products. Everything that is a WPF element, from `WPF.TextControl` to the ribbon tabs and the barcode and drawing controls, has `WPF` in its namespace; the document model, `ServerTextControl` and `MailMerge` are in `TXTextControl` and `TXTextControl.DocumentServer`, the same as in TX Text Control .NET for Windows Forms and TX Text Control .NET Server.

Every namespace of the class library reference is listed below, with what it holds and the classes to open first. A namespace's page lists its classes, interfaces and enumerations, and a class's page lists its members.

### Namespaces

| Namespace | What it holds | Start with |
|---|---|---|
| [TXTextControl.WPF](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/llms-full.txt) | The editor element and its document canvas, the twelve ribbon tabs, the button bar, ruler bar, status bar and sidebar, the mini toolbars, dialog boxes such as the bookmark and hyperlink dialogs, the resource provider and value converters for XAML bindings | [TextControl](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/llms-full.txt), [RibbonFormattingTab](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonformattingtab/llms-full.txt), [Sidebar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/llms-full.txt) |
| [TXTextControl](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/llms-full.txt) | The engine without a user interface and the document model: text, selection, paragraphs, tables, images, fields, form fields, sections, headers and footers and the settings for loading and saving | [ServerTextControl](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/llms-full.txt), [Selection](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/selection/llms-full.txt), [LoadSettings](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/llms-full.txt) |
| [TXTextControl.DocumentServer](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver/llms-full.txt) | Mail merge: the class that merges templates with data, and the arguments of its events | [MailMerge](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver/mailmerge/llms-full.txt) |
| [TXTextControl.DocumentServer.DataSources](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/llms-full.txt) | Information about the tables, columns and relations of a data source, and the settings of a merge and its merge blocks | [DataSourceManager](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/datasourcemanager/llms-full.txt), [MergeSettings](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/mergesettings/llms-full.txt) |
| [TXTextControl.DocumentServer.DataShaping](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datashaping/llms-full.txt) | Instructions that filter and sort the data of merge blocks | [FilterInstruction](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datashaping/filterinstruction/llms-full.txt), [SortingInstruction](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datashaping/sortinginstruction/llms-full.txt) |
| [TXTextControl.DocumentServer.Fields](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/llms-full.txt) | Field adapters for typed access to merge fields, IF fields, legacy form fields and content controls | [MergeField](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/mergefield/llms-full.txt), [IfField](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/iffield/llms-full.txt), [FormText](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formtext/llms-full.txt) |
| [TXTextControl.DocumentServer.Json](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-json/llms-full.txt) | The exceptions thrown for JSON data that can't be parsed | [ParserException](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-json/parserexception/llms-full.txt) |
| [TXTextControl.DocumentServer.PDF](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/llms-full.txt) | Methods that read the form fields and embedded files of a PDF document | [Forms](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/forms/llms-full.txt), [Attachments](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/attachments/llms-full.txt) |
| [TXTextControl.DocumentServer.PDF.AcroForms](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf-acroforms/llms-full.txt) | The AcroForm fields read from a PDF document: text fields, check boxes, radio buttons, list and combo boxes and buttons | [FormField](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/llms-full.txt) |
| [TXTextControl.DocumentServer.PDF.Contents](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf-contents/llms-full.txt) | The lines of text found in a PDF document, with their page and position | [Lines](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/contents-lines/llms-full.txt) |
| [TXTextControl.DocumentServer.WPF](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/llms-full.txt) | The WPF dialog boxes for merge blocks: insert and edit merge blocks, filter and sort their data and edit data relations | [InsertMergeBlockDialog](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/llms-full.txt), [FilterAndSortDialog](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/filterandsortdialog/llms-full.txt) |
| [TXTextControl.DataVisualization](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-datavisualization/llms-full.txt) | The frames that position a chart, a barcode or a drawing in a document, their collections and events | [ChartFrame](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-datavisualization/chartframe/llms-full.txt), [BarcodeFrame](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-datavisualization/barcodeframe/llms-full.txt), [DrawingFrame](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-datavisualization/drawingframe/llms-full.txt) |
| [TXTextControl.Barcode](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-barcode/llms-full.txt) | The type and format of a barcode, rendered as SVG | [TXBarcodeCore](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-barcode/txbarcodecore/llms-full.txt) |
| [TXTextControl.WPF.Barcode](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-barcode/llms-full.txt) | The WPF element that shows a barcode | [TXBarcodeControl](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-barcode/txbarcodecontrol/llms-full.txt) |
| [TXTextControl.Drawing](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/llms-full.txt) | The shapes of a drawing with their fill and outline, rendered as SVG | [TXDrawingCore](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/txdrawingcore/llms-full.txt) |
| [TXTextControl.WPF.Drawing](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/llms-full.txt) | The WPF element that shows a drawing, and its context menu | [TXDrawingControl](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/llms-full.txt) |

The navigation on the left links six of these namespaces directly; open the other ten from the table above.

One class is filed outside its namespace: the reference lists the mini toolbar [WPF.MiniToolbar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/wpf-minitoolbar/llms-full.txt) with the `TXTextControl` namespace, but in code it is `TXTextControl.WPF.MiniToolbar`.

### Find the Right Namespace

| If you want to | Start in |
|---|---|
| Control the editor in a window: load, save, format, print | `TXTextControl.WPF`, with [WPF.TextControl](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/llms-full.txt) |
| Work with the text, tables and fields of the document | `TXTextControl`, with [Selection](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/selection/llms-full.txt) and the collections of the editor |
| Create or convert a document without a visible editor | `TXTextControl`, with [ServerTextControl](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/llms-full.txt) |
| Add ribbon tabs, toolbars, rulers or the sidebar to a window | `TXTextControl.WPF` |
| Merge a template with JSON data, objects or a database | `TXTextControl.DocumentServer`, with [MailMerge](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver/mailmerge/llms-full.txt) |
| Open a merge block dialog box from your own button | `TXTextControl.DocumentServer.WPF` |
| Read AcroForm fields, embedded files or text lines from a PDF | `TXTextControl.DocumentServer.PDF` and the namespaces below it |

When you know the task but not the namespace, [Classes by Task](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/dotnet-api/tasks/llms-full.txt) lists the classes and members of each task, such as tables, form fields, rulers or merge blocks, with the topic page that uses them.

[Assemblies and XAML Namespaces](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/installation/xaml-namespaces/llms-full.txt) shows which assembly holds each namespace and how a window maps `TXTextControl.WPF` in XAML. The pages of [Document Editor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/llms-full.txt), [Document Processing](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-processing/llms-full.txt), [Mail Merge and Reporting](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/llms-full.txt) and [PDF Processing](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/llms-full.txt) show the classes at work.

### Where to Start

1. Open [WPF.TextControl](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/llms-full.txt): its properties and methods are the entry point for most tasks in the editor.
2. Continue to [Selection](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/selection/llms-full.txt) in `TXTextControl`, where the document model begins.
3. Look up the namespace of the feature you work on in the table above, or its classes in [Classes by Task](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/dotnet-api/tasks/llms-full.txt).

---

## In This Section

- [Classes by Task](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/dotnet-api/tasks/llms-full.txt): Find the WPF.TextControl members and classes for each task, from formatting, tables and rulers to drawings, mail merge and XML, and the base classes they share.

---

## Nearby

- **Previous:** [API Reference](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/llms-full.txt)
- **Next:** [TXTextControl namespace](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/llms-full.txt)
