TX Text Control .NET for WPF

Classes by Task

Topic

The reference lists the classes of TX Text Control .NET for WPF by namespace. When you know the task, such as formatting text, filling a table, adding a ruler or merging a template, but not the class, start here: each section below names the member of WPF.TextControl where the task begins, the classes and members you work with and the topic page that shows them in code.

Every class and member links to its page in the class library reference. Most sections start at WPF.TextControl, the editor element of your window. The same document classes are reached through ServerTextControl when a document is processed without a visible editor, as Using ServerTextControl in Desktop Applications describes. The last section, Base Classes and Interfaces, shows which classes share a base class.

Character Formatting

Character attributes such as font, size, color and underline are properties of the current selection. On an empty selection, they apply to the text typed next.

Class or memberUse it to
TextControl.Selection, SelectionRead and set the font, size, bold, italic, underline, strikeout, baseline, text color and background color of the selected text
Selection.FontName, Selection.FontSize, Selection.Bold, Selection.Italic, Selection.Underline, Selection.ForeColor, Selection.TextBackColorChange single character attributes
Selection.ChangeCapitalization, Selection.GrowFont, Selection.ShrinkFont, Selection.RemoveFormattingChange the capitalization or the font size step by step, or remove the character formatting
TextControl.FontFamily, TextControl.FontSize, TextControl.FontStyle, TextControl.FontWeight, TextControl.FontUnderlineStyle, TextControl.BaselineSet the default character format of the editor
TextControl.InputFormat, InputFormatRead all formatting attributes at the input position in one object, for example to update your own toolbar
TextControl.CharFormatChangedReact when the character format at the input position changes
TextControl.FontDialog, TextControl.ForeColorDialog, TextControl.TextBackColorDialogOpen the built-in dialog boxes for the font and the colors
TextControl.GetSupportedFontsList the fonts the editor can use

Explained in Text and Paragraph Formatting and, for ServerTextControl, in Text, Paragraphs, and Stylesheets.

Paragraph Formatting

Class or memberUse it to
TextControl.ParagraphFormat, Selection.ParagraphFormatGet the paragraph format of the paragraphs at the input position or in the selection
ParagraphFormatSet the alignment, indents, line spacing, spacing before and after, frame lines, tabs, page breaks, widow and orphan control and structure level of paragraphs
ParagraphFormat.Alignment, ParagraphFormat.LeftIndent, ParagraphFormat.LineSpacing, ParagraphFormat.TabPositions, ParagraphFormat.KeepWithNext, ParagraphFormat.StructureLevelFrequently used paragraph attributes
TextControl.ParagraphFormatChangedReact when the paragraph format at the input position changes
TextControl.ParagraphFormatDialog, TextControl.TabDialogOpen the built-in dialog boxes for paragraphs and tabs

Explained in Text and Paragraph Formatting and Text, Paragraphs, and Stylesheets.

Sections and Pages

A document is divided into sections, and each section defines its own page size, margins, columns and page border.

Class or memberUse it to
TextControl.Sections, SectionCollection, SectionAdd sections with SectionCollection.Add and get a section with SectionCollection.GetItem
Section.Format, SectionFormatSet the page size, margins, orientation, columns, page border, break kind and page numbering of a section
PageSize, PageMargins, PageBorderDescribe the size, margins and border of a page
TextControl.PageSize, TextControl.PageMargins, TextControl.Landscape, TextControl.PageUnitSet the page format of the whole document and the unit its measures use
TextControl.GetPages, PageCollection, PageGet the formatted pages in page view, with their numbers, bounds, headers and footers; TextControl.Pages is the number of pages
TextControl.SectionFormatDialog, TextControl.PageColorDialogOpen the built-in dialog boxes for the page setup and the page color
TextControl.PageChanged, TextControl.SectionChanged, TextControl.PageFormatChangedReact when the input position moves to another page or section, or the page format changes
TextControl.GetSupportedPaperSizes, PaperSizeList the paper sizes of the formatting printer by name and size

Explained in Sections and Page Layout and Sections, Pages, Headers, and Footers.

Bulleted and Numbered Lists

Class or memberUse it to
TextControl.ListFormat, Selection.ListFormat, Paragraph.ListFormatGet the list format of the paragraphs at the input position, in the selection or of one paragraph
ListFormatSet the list type, the bullet character, the number format, the level, the first number, the text before and after the number and the indents
Paragraph.ListNumber, Paragraph.ListNumberTextRead the number of a paragraph in its list and the text it shows
TextControl.ListFormatDialogOpen the built-in dialog box for lists

Explained in Bullets and Numbered Lists.

Ribbon Tabs, Toolbars and Bars

The bars around the editor are WPF elements of TXTextControl.WPF. A bar is connected to the editor through a property of WPF.TextControl, usually set in XAML.

Class or memberUse it to
RibbonFormattingTab, RibbonInsertTab, RibbonPageLayoutTab, RibbonViewTab, RibbonTableLayoutTab, RibbonFrameLayoutTabAdd the tabs for formatting, inserting, page layout, view, tables and frames to a Microsoft WPF ribbon
RibbonFormFieldsTab, RibbonPermissionsTab, RibbonProofingTab, RibbonReferencesTab, RibbonReportingTab, RibbonFormulaTabAdd the tabs for form fields, permissions, proofing, references, reporting and table formulas
TextControl.RibbonFormattingTab and the other Ribbon...Tab propertiesConnect a ribbon tab to the editor
ButtonBar, TextControl.ButtonBarShow a toolbar with font and paragraph attributes
RulerBar, TextControl.RulerBar, TextControl.VerticalRulerBarShow horizontal and vertical rulers for indents, margins and tabs, with display colors in RulerBar.Colors
StatusBar, TextControl.StatusBarShow the input position and other status information, with display colors in StatusBarColors
TextControlToolBar, TextControlToolBarPresenterThe base class of the ruler bar and the status bar, and the part of its control template that renders the bar's content
WPF.MiniToolbar, TextMiniToolbar, ObjectMiniToolbar, TextControl.ShowMiniToolbarShow a mini toolbar next to selected text or a selected frame when a mouse button is released
TextControl.MiniToolbarOpening, WPF.MiniToolbarOpeningEventArgs, MiniToolbarInitializedEventArgsReplace or change a mini toolbar before it opens or after it was created
SidebarShow panels such as the field navigation or the conditional instructions next to the editor
ResourceProviderGet the images and texts of built-in ribbon items by their identifiers, for example for your own ribbon buttons

Explained in Ribbon Tabs, Toolbars, and Status Bar, Built-in Ribbon Tabs, Toolbars and Mini Toolbars, Rulers and Status Bar, Sidebar and Panels and Styles, Resources, and Themes.

Loading and Saving

Class or memberUse it to
TextControl.Load, TextControl.Save, TextControl.AppendLoad a document from a file, a byte array or a string, save it, or append another document; without a file name, Load and Save open the built-in file dialog boxes
StreamTypeName the format to load or save, such as DOCX, RTF, HTML or PDF
LoadSettings, SaveSettingsPass settings to a load or save operation and read information about the loaded document; both derive from LoadSaveSettingsBase
TextControl.DocumentLoaded, TextControl.ChangedReact when a document has been loaded or its content changes
TextControl.DocumentSettings, DocumentSettings, UserDefinedPropertyDictionaryRead and set the author, title, subject, keywords and user-defined properties of the document
EmbeddedFileEmbed files in PDF documents and read embedded files
DigitalSignatureSign a PDF document with an X.509 certificate when it is saved
TextControl.ResetContents, TextControl.Clear, TextControl.TextDelete the whole contents, delete the selected text, or read and set the plain text of the document

Explained in Loading and Saving Documents, Document Properties, Loading Documents, Saving and Converting Documents, Attachments and Signing PDF Documents.

Printing

Class or memberUse it to
TextControl.PrintPrint the document, with or without the print dialog box
TextControl.FormattingPrinterName the printer whose text dimensions are used to format the document

Explained in Printing and Print Preview and Printing.

Tables

Class or memberUse it to
TextControl.Tables, TableCollectionInsert a table with TableCollection.Add, get one with TableCollection.GetItem and remove it
TableMerge and split cells with Table.MergeCells and Table.SplitCells, split the table with Table.Split, and reach nested tables
Table.Rows, TableRowCollection, TableRowAdd, get and remove rows
Table.Columns, TableColumnCollection, TableColumnAdd, get and remove columns
Table.Cells, TableCellCollection, TableCellGet a cell by row and column and read or set its text
TableCellFormatSet the borders, background color, text distances, vertical alignment and number format of cells
TableCell.Formula, TableCollection.SupportedFormulaFunctions, TextControl.IsFormulaCalculationEnabled, TextControl.FormulaReferenceStyleCalculate cell values with formulas
TableEventArgsReceive the table of the TextControl.TableCreated and TextControl.TableDeleted events
TextControl.TableFormatDialog, TextControl.TableFormatChangedOpen the table properties dialog box, and react when the table format at the input position changes

Explained in Tables and Table Formulas and Tables and Calculations. Formula Functions lists the functions a formula can call.

Headers and Footers

Class or memberUse it to
TextControl.HeadersAndFooters, Section.HeadersAndFooters, HeaderFooterCollectionAdd a header or footer with HeaderFooterCollection.Add and get one with HeaderFooterCollection.GetItem
HeaderFooterWork with the text, tables, images and fields of a header or footer, and connect it to the previous section with HeaderFooter.ConnectedToPrevious
HeaderFooter.PageNumberFields, PageNumberFieldCollection, PageNumberFieldInsert page numbers and the total number of pages
TextControl.HeaderFooterActivated, TextControl.HeaderFooterDeactivated, TextControl.HeaderFooterActivationStyleReact when the user enters or leaves a header or footer, and decide how the user activates one

Explained in Headers and Footers and Sections, Pages, Headers, and Footers.

Images

Class or memberUse it to
TextControl.Images, ImageCollectionInsert an image with ImageCollection.Add, get one with ImageCollection.GetItem and remove it
ImageSet the file, the scaling, the insertion mode and the format an image is saved in
FrameBasePosition and size images, text frames, barcodes, drawings and signature fields with the properties they share, such as FrameBase.Location, FrameBase.Size and FrameBase.InsertionMode
ImageEventArgsReceive the image of TextControl.ImageCreated, TextControl.ImageClicked, TextControl.ImageMoved and the other image events
TextControl.ImageAttributesDialogOpen the built-in dialog box for the selected image

Explained in Images and Images, Text Frames, and Shapes.

Text Frames

Class or memberUse it to
TextControl.TextFrames, TextFrameCollectionInsert a text frame with TextFrameCollection.Add, get one and remove it
TextFrameSet the border, background color, internal margins and insertion mode of a text frame, and work with its text through TextFrame.Selection, TextFrame.Paragraphs and TextFrame.Tables
TextFrameEventArgsReceive the text frame of TextControl.TextFrameCreated, TextControl.TextFrameActivated and the other text frame events
FrameEventArgsReceive any kind of frame in TextControl.FrameSelected, TextControl.FrameMoved and the other frame events
TextControl.TextFrameAttributesDialog, TextControl.FrameFillColorDialog, TextControl.FrameLineColorDialogOpen the built-in dialog boxes for the selected frame

Explained in Text Frames and Shapes and Images, Text Frames, and Shapes.

Charts

WPF.TextControl has no Charts collection and no chart events. A ChartFrame always holds a Windows Forms chart control, so ChartCollection and ChartEventArgs appear in the reference without a WPF entry point. Charts and Barcodes explains what to use instead.

Barcodes

Class or memberUse it to
TextControl.Barcodes, BarcodeCollectionInsert a barcode with BarcodeCollection.Add, get one and remove it
BarcodeFrameReach the barcode element with BarcodeFrame.Barcode
WPF.Barcode.TXBarcodeControlSet the barcode type, its text and its colors in a WPF application
TXBarcodeCore, BarcodeTypeSettingsRender a barcode as SVG without a user interface, and apply settings that depend on the barcode type, such as a check value
BarcodeEventArgsReceive the barcode of TextControl.BarcodeCreated, TextControl.BarcodeClicked and the other barcode events
TextControl.BarcodeLayoutDialogOpen the layout dialog box for the selected barcode

Explained in Charts and Barcodes, Integrating WPF Barcodes and Drawings and, for templates, Images and Barcodes.

Drawings and Shapes

Class or memberUse it to
TextControl.Drawings, DrawingCollectionInsert a drawing with DrawingCollection.Add, get one, get the activated one with DrawingCollection.GetActivatedItem and remove it
DrawingFrameReach the drawing element with DrawingFrame.Drawing
WPF.Drawing.TXDrawingControlHold the shapes of a drawing, raise the shape events such as ShapeSelected and open FormatShapesDialog
ShapeCollection, Shape, ShapeEventArgsAdd, insert and remove shapes, set their type, size, angle and position, and receive the shape of a shape event
Shape.ShapeFill, Shape.ShapeOutlineSet the fill and the outline of a shape through objects of the classes Shape.Fill and Shape.Outline
Drawing.SelectionChange the z-order of the selected shapes
TXDrawingCoreRender shapes as SVG without a user interface
DrawingEventArgsReceive the drawing of TextControl.DrawingCreated, TextControl.DrawingActivated and the other drawing events

Explained in Integrating WPF Barcodes and Drawings and Text Frames and Shapes.

Signature Fields

Class or memberUse it to
TextControl.SignatureFields, SignatureFieldCollection, SignatureFieldInsert, get and remove signature fields
SignatureField.Image, SignatureImagePlace a signature image in a field
SignatureField.SignerData, SignerDataStore the name, title, address, contact information and reason of the suggested signer
TextControl.SignatureFieldLayoutDialog, TextControl.SignatureFieldClickedOpen the layout dialog box of a signature field, and react when the user clicks one

Explained in Signature Fields and Signature Fields and Signature Appearance.

Form Fields

Class or memberUse it to
TextControl.FormFields, FormFieldCollectionAdd, get and remove form fields
FormFieldRead the name, text and enabled state all form fields share
TextFormField, CheckFormField, SelectionFormField, DateFormFieldCreate text boxes, check boxes, combo boxes or drop-down lists and date fields
TextControl.FormFieldTextChanged, TextControl.FormFieldCheckChanged, TextControl.FormFieldSelectionChanged, TextControl.FormFieldDateChangedReact to the values users enter
TextControl.CanEditFormFields, TextControl.IsFormFieldValidationEnabledFind out whether form fields can be edited, and apply the conditional instructions while users fill out a form
FormFieldCollection.ConditionalInstructions, ConditionalInstructionCollection, ConditionalInstruction, Condition, InstructionEnable form fields, check their values or set their values and items depending on the values of other fields
TextControl.ConditionalInstructionDialog, TextControl.ManageConditionalInstructionsDialogOpen the built-in dialog boxes for conditional instructions

Explained in Form Fields and Conditional Instructions, Forms and Conditional Instructions and Conditional Instructions.

Selections and Input Position

Class or memberUse it to
TextControl.Selection, SelectionRead and set the start and length of the selection, its text and its formatting
TextControl.Select, TextControl.SelectAll, TextControl.SelectWordSelect a range, the whole document or a word
Selection.Load, Selection.SaveReplace the selected text with text in a format, or save the selected text in a format
Selection.IsCommonValueSelectedFind out whether the whole selection shares a value
TextControl.InputPosition, InputPosition, TextControl.InputPositionChangedSet the input position, read its page, line, column and section, and react when it moves
TextControl.HideSelection, TextControl.SelectionViewMode, TextControl.CaretWidthChange how the selection and the caret look
GotoDialogLet the user move the input position to a page, section, line, table or bookmark

Explained in Selections and Caret Position.

Text Fields

Class or memberUse it to
TextControl.TextFields, TextFieldCollection, TextFieldInsert, get and remove text fields, named ranges of text that code can find and change
TextControl.ApplicationFields, ApplicationFieldCollection, ApplicationFieldWork with fields of Microsoft Word, such as MERGEFIELD, through their type name and parameters
TextControl.GetTextFieldsGet the fields of all types in one call
TextFieldEventArgsReceive the field of TextControl.TextFieldClicked, TextControl.TextFieldEntered, TextControl.TextFieldCreated and the other field events
TextControl.FieldCursorSet the mouse pointer shown over fields

Explained in Fields and Subtext Parts and Fields, Hyperlinks, and Bookmarks.

Spell Checking and Hyphenation

Class or memberUse it to
TextControl.SpellChecker, TextControl.IsSpellCheckingEnabledConnect a TX Spell .NET for WPF component and turn checking on
TextControl.MisspelledWords, MisspelledWordCollection, MisspelledWordGet, ignore and remove the misspelled words of a document
TextControl.SpellCheckDialog, TextControl.SpellCheckContextMenu, ThesaurusDialogOpen the spelling and thesaurus dialog boxes and show suggestions in the context menu
TextControl.SpellCheckText, SpellCheckTextEventArgsCheck the spelling of changed text yourself when no spell checking component is connected
TextControl.IsHyphenationEnabled, TextControl.HyphenateWord, HyphenateWordEventArgsTurn hyphenation on and hyphenate a word that doesn't fit on its line
TextControl.IsLanguageDetectionEnabled, TextControl.LanguageDialogDetect the language of text automatically, or let the user set it

Explained in Spell Checking and Hyphenation and Integrating TX Spell .NET for WPF.

Clipboard

Class or memberUse it to
TextControl.Copy, TextControl.Cut, TextControl.PasteCopy or move the selection to the clipboard and paste its content
TextControl.CanCopy, TextControl.CanPasteEnable your copy and paste buttons only when the command can run
TextControl.GetClipboardFormatsList the formats on the clipboard that the editor can paste

Explained in Clipboard Operations.

Undo and Redo

Class or memberUse it to
TextControl.Undo, TextControl.Redo, TextControl.CanUndo, TextControl.CanRedoUndo and redo the last operation, and find out whether it is possible
TextControl.UndoActionName, TextControl.RedoActionNameShow the name of the operation that undo or redo will perform
TextControl.BeginUndoAction, TextControl.EndUndoActionCombine several changes of your code into one step
TextControl.ClearUndo, TextControl.IsUndoEnabledEmpty the undo buffer, or turn it off

Explained in Undo and Redo.

Find and Replace

Class or memberUse it to
TextControl.Find, FindOptionsFind text in the main text, with options such as whole words or case sensitivity, or open the find dialog box
TextControl.ReplaceOpen the replace dialog box
HeaderFooter.Find, TextFrame.FindFind text in a header, a footer or a text frame

Explained in Search and Replace.

Zooming and Viewing

Class or memberUse it to
TextControl.ZoomFactor, TextControl.ZoomSet the zoom factor in percent, or zoom to the page width or a whole page
TextControl.ViewModeShow the document as pages with a desktop background or as formatted text without pages, among other views
TextControl.ScrollLocation, TextControl.HorizontalScrollBarVisibility, TextControl.VerticalScrollBarVisibilityScroll the document in code and show or hide the scroll bars
TextControl.ControlChars, TextControl.PermanentControlCharsShow paragraph marks, spaces and other control characters

Explained in Viewing, Zooming, and Navigation.

Restricted Access

Class or memberUse it to
TextControl.EditModeMake the document read-only or allow only selecting
TextControl.DocumentPermissions, DocumentPermissionsAllow copying, formatting, printing and editing form fields in a read-only document
TextControl.EditableRegions, EditableRegionCollection, EditableRegionMark regions that stay editable in a read-only document, for everyone or for the users named in TextControl.UserNames
TextControl.EditableRegionHighlightMode, EditableRegionEventArgsHighlight the editable regions and receive the region of TextControl.EditableRegionEntered and the other region events
TextControl.CanEdit, TextControl.CanCharacterFormat, TextControl.CanParagraphFormat, TextControl.CanPrintFind out what the current permissions allow at the input position

Explained in Document Protection and Editable Regions and Document Protection and User Permissions.

Tracked Changes

Class or memberUse it to
TextControl.IsTrackChangesEnabledRecord the changes users make
TextControl.TrackedChanges, TrackedChangeCollection, TrackedChangeRead the changes of a document, with their kind, author and time, and accept or reject them with TrackedChangeCollection.Remove
CannotTrackChangeEventArgsDecide in TextControl.CannotTrackChange what happens with a change that can't be tracked
TrackedChangeEventArgsReceive the change of TextControl.TrackedChangeCreated and the other tracked change events
TrackedChangesDialogLet the user go through the changes and accept or reject them

Explained in Track Changes and Comments and Tracked Changes.

Comments

Class or memberUse it to
TextControl.Comments, CommentCollectionAdd comments to text with CommentCollection.Add, get and remove them
CommentedTextRead the comment, its author, time, replies and the text it belongs to
CommentEventArgsReceive the comment of TextControl.CommentCreated, TextControl.CommentedTextEntered and the other comment events
TextControl.CommentHighlightMode, CommentsDialogHighlight commented text and let the user go through the comments

Explained in Comments and Comments and Tracked Changes.

Control Settings

Class or memberUse it to
TextControl.FontSettings, FontSettingsRestrict the fonts a document can use, for example to embeddable fonts for PDF/A
TextControl.AdaptFont, AdaptFontEventArgsReplace a font that isn't available
TextControl.GetVersionInfo, VersionInfoRead the version, service pack and product level at run time
TextControl.EntryAssemblyName the assembly that holds the license
TextControl.DisplayColors, TextControlColorsSet the colors of the desktop, the page, form fields and header and footer labels
TextControl.AutoControlSize, AutoSizeGrow or shrink the editor with its text, within a minimum and maximum size
TextControl.AcceptsTab, TextControl.AllowDrag, TextControl.AllowDrop, TextControl.DropFormatsDecide whether the Tab key inserts a tab, and what users can drag and drop
TextControl.PointToDocument, TextControl.PointFromDocument, TextControl.DialogUnitConvert between control and document coordinates, and set the measuring unit of the dialog boxes
TextControl.TextContextMenuOpening, TextContextMenuEventArgsChange or replace the context menu before it opens
TextControlDocumentReach the canvas in the editor's template that has the size of the document, for example to bind another element to that size; it holds no text

Explained in WPF.TextControl, WPF Layout and Resizing, TextControlDocument, Context Menus and Font Embedding and Substitution.

Value Converters for XAML

Four converters of TXTextControl.WPF implement IValueConverter for bindings in XAML, for example between a slider and the zoom factor.

Class or memberUse it to
BooleanConverterConvert a value to a bool and back
ColorConverterConvert a System.Drawing.Color to a System.Windows.Media.Color and back
LogarithmicConverterMap a linear range to a logarithmic one, for a zoom slider
MeasureConverterConvert a measure in twips to another unit, with a number of decimals

Explained in Value Converters.

Paragraphs as Objects

Class or memberUse it to
TextControl.Paragraphs, ParagraphCollection, ParagraphGo through the paragraphs of a document by number or position
Paragraph.Text, Paragraph.Start, Paragraph.Length, Paragraph.LinesRead the text, position and lines of a paragraph
Paragraph.Format, Paragraph.FormattingStyleRead and change the format and style of a paragraph
Paragraph.Select, Paragraph.SaveSelect a paragraph or save it in a format
TextControl.InputParagraphChangedReact when the input position moves to another paragraph

Explained in Text, Paragraphs, and Stylesheets.

Lines and Characters

Class or memberUse it to
TextControl.Lines, LineCollection, LineRead the text, page, baseline and bounds of each formatted line, and save a line with Line.Save
TextControl.TextChars, TextCharCollection, TextCharRead each character and its bounds, find the character at a point with TextCharCollection.GetItem, and add or remove single characters

Explained in Selections and Caret Position.

Text Parts

A document consists of text parts: the main text, headers and footers, text frames and footnote sections. Each of them implements IFormattedText, the interface with the collections that the sections above describe for the main text.

Class or memberUse it to
TextControl.TextParts, TextPartCollectionGo through all text parts of a document
MainText, FootnoteText, FootnoteSectionReach the main text and the text of the footnotes
TextControl.MainTextActivatedReact when the input position returns to the main text
TextControl.SubTextParts, SubTextPartCollection, SubTextPartMark named ranges of text, such as the merge blocks of a template
TextControl.Frames, FrameCollectionGo through the images, text frames, barcodes and drawings of a document in one collection

Explained in Document Object Model, Subtext Parts and Fields and Subtext Parts.

Styles

Class or memberUse it to
TextControl.ParagraphStyles, ParagraphStyleCollection, ParagraphStyleDefine and change styles for whole paragraphs
TextControl.InlineStyles, InlineStyleCollection, InlineStyleDefine and change character styles for words in a line
FormattingStyle.Apply, FormattingStyleCollection.RemoveApply a changed style to the document or remove a style
Selection.FormattingStyle, Selection.RemoveInlineStylesAssign a style to the selected text or remove inline styles from it
TextControl.FormattingStylesDialog, TextControl.FormattingStyleChangedOpen the style dialog box, and react when a style changes

Explained in Stylesheets and Text, Paragraphs, and Stylesheets.

Tables of Contents

Class or memberUse it to
TextControl.TablesOfContents, TableOfContentsCollectionInsert a table of contents with TableOfContentsCollection.Add, get and remove it
TableOfContentsSet the title, the structure levels, links and page numbers, and rebuild it with TableOfContents.Update
TableOfContentsEventArgsReceive the table of contents of TextControl.TableOfContentsCreated and the other table of contents events
TextControl.TableOfContentsDialogOpen the built-in dialog box for tables of contents

Explained in Tables of Contents.

Footnotes

Class or memberUse it to
TextControl.Footnotes, FootnoteCollectionInsert a footnote with FootnoteCollection.Add, get and remove it, and set the number format and start number
FootnoteRead the number and text of a footnote and the position of its reference mark
FootnoteEventArgsReceive the footnote of TextControl.FootnoteCreated and the other footnote events

Explained in Footnotes.

Mail Merge

Class or memberUse it to
MailMergeMerge a template with data: MailMerge.LoadTemplate, MailMerge.MergeJsonData, MailMerge.MergeObjects and MailMerge.Merge
MailMerge.TextComponentConnect the ServerTextControl or the WPF.TextControl that holds the template and the result
FieldMergedEventArgs, DataRowMergedEventArgs, BlockMergingEventArgs, BlockRowMergedEventArgsChange fields, records and blocks while they are merged
ImageFieldMergedEventArgs, ImageMergedEventArgs, BarcodeMergedEventArgs, FormFieldMergedEventArgs, IncludeTextMergingEventArgsChange merged images, barcodes and form fields, and included documents
IDataTableAdapter, IDataRowAdapterRead the table and the rows of a merge block in the BlockMerging event
MergeCanceledException, ParserExceptionHandle a canceled merge and JSON that can't be parsed

Explained in Overview, Data Sources and Merge Events of Mail Merge and Reporting.

Word Fields and Content Controls

The field adapters of TXTextControl.DocumentServer.Fields wrap an ApplicationField and read and change the settings of a Microsoft Word field or content control through typed properties.

Class or memberUse it to
FieldAdapter, FieldAdapter.TYPE_NAMEFind the adapter class that matches the TypeName of an application field
MergeField, IfField, IncludeText, DateField, NextField, NextIfFieldRead and set the parameters of MERGEFIELD, IF, INCLUDETEXT, DATE, NEXT and NEXTIF fields
FormText, FormCheckBox, FormDropDownWork with the legacy form fields of Microsoft Word
PlainTextContentControl, RichTextContentControl, CheckBoxContentControl, ComboBoxContentControl, DropDownListContentControl, DateContentControlWork with the content controls of Microsoft Word
FieldAdapter.ShowDialogOpen the options dialog box of a field, with a WPF Window as its owner

Explained in Fields and Subtext Parts, Content Controls and Merge Fields.

PDF Forms and Text

Class or memberUse it to
FormsRead the AcroForm fields of a PDF document with Forms.GetAcroFormFields
FormFieldRead the name, type and bounds all AcroForm fields share
FormTextField, FormCheckBox, FormRadioButton, FormComboBox, FormListBox, FormButtonRead the value of each kind of field
Lines, ContentLineFind lines of text in a PDF document with their page and position

Explained in Reading Form Fields and Values and Text Extraction.

Reporting

Class or memberUse it to
RibbonReportingTab.DataSourceManager, DataSourceManagerLoad a data source and find out which tables, columns and relations it has, and insert merge blocks with DataSourceManager.InsertMergeBlock
DataTableInfo, DataColumnInfo, DataRelationInfoDescribe a table, a column and a parent-child relation, in the collections DataTableInfoCollection, DataColumnInfoCollection and DataRelationInfoCollection
MergeBlockInfo, MergeBlockSettingsDescribe a merge block and how it is inserted, including the ID of the created table in MergeBlockSettings.TableID
FilterInstruction, SortingInstructionFilter and sort the records of a merge block
MergeSettingsPass settings to DataSourceManager.Merge for a preview
InsertMergeBlockDialog, EditMergeBlocksDialog, FilterAndSortDialog, EditDataRelationsDialogOpen the dialog boxes of the Reporting tab from your own buttons; InsertMergeBlockDialog.AddTableHeaderRow tells whether the user asked for a header row

Explained in Template Design, Merge Blocks, Sorting and Filtering, Reporting Ribbon and WPF Dialog Boxes and Template Preview.

XML

Class or memberUse it to
TextControl.GetXmlElements, XmlElementCollectionGet all elements of an XML document with the same name
XmlElementRead and change the text of an element and add, get and remove child elements
TextControl.XmlEditModeDecide how users can edit an XML document
TextControl.XmlInvalid, TextControl.XmlNotWellFormed, XmlErrorEventArgsFind out why an XML document is invalid or not well-formed, with the line and position of the error

Explained in XML Processing.

Exceptions

The exceptions of TX Text Control, from FilterException for documents that can't be loaded or saved to ParserException for invalid JSON data, are listed with what raises each one in TX Text Control Exceptions.

Base Classes and Interfaces

Many classes share a base class that defines their common members. The reference documents a member on the base class, so a property such as Location of an image is found on the page of FrameBase. The hierarchy below lists the base classes the reference documents, with the WPF base classes of the elements in parentheses; each class name is linked in the table after it.

WPF.TextControl (System.Windows.Controls.Control, implements IFormattedText)
ServerTextControl (implements IFormattedText)

WPF.TextControlToolBar (System.Windows.Controls.Control)
├── WPF.RulerBar
└── WPF.StatusBar

WPF.MiniToolbar (System.Windows.Controls.Primitives.Popup)
├── WPF.TextMiniToolbar
└── WPF.ObjectMiniToolbar

FrameBase
├── Image
├── TextFrame (implements IFormattedText)
├── SignatureField
├── DataVisualization.ChartFrame
├── DataVisualization.BarcodeFrame
└── DataVisualization.DrawingFrame

FrameBaseCollection
├── ImageCollection
├── TextFrameCollection
├── SignatureFieldCollection
├── FrameCollection
├── DataVisualization.ChartCollection
├── DataVisualization.BarcodeCollection
└── DataVisualization.DrawingCollection

TablePartCollection
├── TableRowCollection
├── TableColumnCollection
└── TableCellCollection

TextField
├── ApplicationField
├── HypertextLink
├── DocumentLink
├── PageNumberField
└── FormField
    ├── TextFormField
    ├── CheckFormField
    ├── SelectionFormField
    └── DateFormField

TextFieldCollectionBase
├── TextFieldCollection
├── ApplicationFieldCollection
├── HypertextLinkCollection
├── DocumentLinkCollection
├── PageNumberFieldCollection
└── FormFieldCollection

FormattingStyle                   FormattingStyleCollection
├── ParagraphStyle                ├── ParagraphStyleCollection
└── InlineStyle                   └── InlineStyleCollection

LoadSaveSettingsBase
├── LoadSettings
└── SaveSettings

DocumentServer.Fields.FieldAdapter
├── MailMergeFieldAdapter
├── FormFieldAdapter
└── ContentControlFieldAdapter
Base classDerived classes
TextControlToolBarRulerBar, StatusBar
WPF.MiniToolbarTextMiniToolbar, ObjectMiniToolbar
FrameBaseImage, TextFrame, SignatureField, ChartFrame, BarcodeFrame, DrawingFrame
FrameBaseCollectionImageCollection, TextFrameCollection, SignatureFieldCollection, FrameCollection, ChartCollection, BarcodeCollection, DrawingCollection
TablePartCollectionTableRowCollection, TableColumnCollection, TableCellCollection
TextFieldApplicationField, HypertextLink, DocumentLink, PageNumberField, FormField
FormFieldTextFormField, CheckFormField, SelectionFormField, DateFormField
TextFieldCollectionBaseTextFieldCollection, ApplicationFieldCollection, HypertextLinkCollection, DocumentLinkCollection, PageNumberFieldCollection, FormFieldCollection
FormattingStyleParagraphStyle, InlineStyle
FormattingStyleCollectionParagraphStyleCollection, InlineStyleCollection
LoadSaveSettingsBaseLoadSettings, SaveSettings
FieldAdapterMailMergeFieldAdapter, FormFieldAdapter, ContentControlFieldAdapter
MailMergeFieldAdapterMergeField, IfField, IncludeText, DateField, NextField, NextIfField
FormFieldAdapterFormText, FormCheckBox, FormDropDown
ContentControlFieldAdapterPlainTextContentControl, RichTextContentControl, CheckBoxContentControl, ComboBoxContentControl, DropDownListContentControl, DateContentControl
FormField of PDF.AcroFormsFormTextField, FormCheckBox, FormChoiceField, FormButton
ParserExceptionUnexpectedEndOfInputException, UnexpectedTokenException, InvalidNumberFormatException, InvalidCodePointException, UnknownLiteralNameTokenException, UnknownParseErrorException

IFormattedText is implemented by WPF.TextControl, ServerTextControl, MainText, HeaderFooter, TextFrame, FootnoteText and FootnoteSection. Code written against the interface works with the main text and with every other text part.

The ribbon tabs derive from System.Windows.Controls.Ribbon.RibbonTab, the ButtonBar from System.Windows.Controls.ToolBar, and the barcode and drawing elements from System.Windows.FrameworkElement. The four value converters implement IValueConverter.