# .NET API

> Find the namespace of a Windows Forms class: TextControl in TXTextControl, the Ribbon and Sidebar, MailMerge, the reporting dialog boxes and PDF form fields.

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

---

The namespace of a class says a lot about what it is for. In TX Text Control .NET for Windows Forms, the editor control, its bars and dialog boxes and the whole document model are in `TXTextControl`; the ribbon has a namespace of its own, `TXTextControl.Windows.Forms.Ribbon`; and mail merge and PDF processing are in `TXTextControl.DocumentServer` and the namespaces below it.

The table below lists every namespace the class library reference documents, 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](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/llms-full.txt) | The editor control and the engine without a user interface, the button bar, ruler bar and status bar, the mini toolbars, dialog boxes such as the bookmark and hyperlink dialogs, and the document model: text, selection, paragraphs, tables, images, fields, sections, headers and footers and the settings for loading and saving | [TextControl](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/llms-full.txt), [ServerTextControl](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/llms-full.txt), [Selection](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/selection/llms-full.txt) |
| [TXTextControl.Windows.Forms](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/llms-full.txt) | The sidebar beside the editor, and the resource provider that returns the images and strings of the built-in ribbon items by their identifiers | [Sidebar](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/llms-full.txt), [ResourceProvider](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/resourceprovider/llms-full.txt) |
| [TXTextControl.Windows.Forms.Ribbon](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/llms-full.txt) | The ribbon, the form that hosts it, its predefined tabs, contextual tab groups and the buttons, combo boxes and other items of custom tabs | [Ribbon](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon/llms-full.txt), [RibbonForm](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonform/llms-full.txt), [RibbonFormattingTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonformattingtab/llms-full.txt) |
| [TXTextControl.DocumentServer](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/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-winforms/reference/txtextcontrol-documentserver/mailmerge/llms-full.txt) |
| [TXTextControl.DocumentServer.DataSources](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/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-winforms/reference/txtextcontrol-documentserver-datasources/datasourcemanager/llms-full.txt), [MergeSettings](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/mergesettings/llms-full.txt) |
| [TXTextControl.DocumentServer.DataShaping](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/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-winforms/reference/txtextcontrol-documentserver-datashaping/filterinstruction/llms-full.txt), [SortingInstruction](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datashaping/sortinginstruction/llms-full.txt) |
| [TXTextControl.DocumentServer.Fields](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/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-winforms/reference/txtextcontrol-documentserver-fields/mergefield/llms-full.txt), [IfField](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/iffield/llms-full.txt), [FormText](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/formtext/llms-full.txt) |
| [TXTextControl.DocumentServer.Json](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/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-winforms/reference/txtextcontrol-documentserver-json/parserexception/llms-full.txt) |
| [TXTextControl.DocumentServer.PDF](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/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-winforms/reference/txtextcontrol-documentserver-pdf/forms/llms-full.txt), [Attachments](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-pdf/attachments/llms-full.txt) |
| [TXTextControl.DocumentServer.PDF.AcroForms](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/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-winforms/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/llms-full.txt) |
| [TXTextControl.DocumentServer.PDF.Contents](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/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-winforms/reference/txtextcontrol-documentserver-pdf/contents-lines/llms-full.txt) |
| [TXTextControl.DocumentServer.Windows.Forms](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-windows-forms/llms-full.txt) | The Windows Forms dialog boxes of the reporting features: insert and edit merge blocks, filter and sort, data relations, database connections, chart data and data source extraction | [InsertMergeBlockDialog](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-windows-forms/insertmergeblockdialog/llms-full.txt), [DatabaseConnectionDialog](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-windows-forms/databaseconnectiondialog/llms-full.txt) |
| [TXTextControl.DataVisualization](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/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-winforms/reference/txtextcontrol-datavisualization/chartframe/llms-full.txt), [BarcodeFrame](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-datavisualization/barcodeframe/llms-full.txt), [DrawingFrame](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-datavisualization/drawingframe/llms-full.txt) |
| [TXTextControl.Barcode](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-barcode/llms-full.txt) | The Windows Forms barcode control and the type and format of a barcode, rendered as SVG | [TXBarcodeControl](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-barcode/txbarcodecontrol/llms-full.txt), [TXBarcodeCore](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-barcode/txbarcodecore/llms-full.txt) |
| [TXTextControl.Drawing](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/llms-full.txt) | The Windows Forms drawing control, its context menu, and the shapes of a drawing with their fill and outline, rendered as SVG | [TXDrawingControl](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcontrol/llms-full.txt), [TXDrawingCore](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcore/llms-full.txt) |

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

`TextControl`, `ButtonBar`, `RulerBar` and `StatusBar` are in `TXTextControl`, not in `TXTextControl.Windows.Forms`. The classes of the document model are the same as in TX Text Control .NET for WPF and TX Text Control .NET Server, so code that works with a `Selection` or a `TableCollection` reads the same in all three products.

### Find the Right Namespace

| If you want to | Start in |
|---|---|
| Control the editor on a form: load, save, format, print | `TXTextControl`, with [TextControl](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/llms-full.txt) |
| Create or convert a document without a visible editor | `TXTextControl`, with [ServerTextControl](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/llms-full.txt) |
| Add the ribbon, change its tabs or build a custom tab | `TXTextControl.Windows.Forms.Ribbon` |
| Merge a template with JSON data, objects or a database | `TXTextControl.DocumentServer`, with [MailMerge](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/mailmerge/llms-full.txt) |
| Read the merge fields or form fields of a template | `TXTextControl.DocumentServer.Fields` |
| Open a reporting dialog box from your own button | `TXTextControl.DocumentServer.Windows.Forms` |
| Read AcroForm fields, embedded files or text lines from a PDF | `TXTextControl.DocumentServer.PDF` and the namespaces below it |

The pages of [Document Editor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/llms-full.txt), [Document Processing](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/llms-full.txt), [Mail Merge and Reporting](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/llms-full.txt) and [PDF Processing](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/pdf/llms-full.txt) show these classes at work. [Package Overview](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/installation/nuget/packages/llms-full.txt) lists the assemblies the classes ship in.

[Classes by Task](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/dotnet-api/tasks/llms-full.txt) sorts the classes the other way round: by the task they solve, from character formatting and tables to toolbars, ribbons, mail merge and PDF forms, with the entry point on `TextControl` and the base classes they share.

### Where to Start

1. Open [TextControl](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/llms-full.txt) and skim its properties and methods: most of what the editor does starts there.
2. Follow its [Selection](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/selection/llms-full.txt) property into the document model, where text is formatted.
3. Open the namespace of the feature you work on from the table above.

---

## In This Section

- [Classes by Task](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/dotnet-api/tasks/llms-full.txt): Find the Windows Forms classes and members for each task, from TextControl formatting, tables and fields to ribbons, toolbars, MailMerge and base classes.

---

## Nearby

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