TX Text Control .NET for Windows Forms

What's New in TX Text Control .NET for Windows Forms 21.0

Topic

The built-in find and replace dialog boxes of TX Text Control .NET for Windows Forms searched beyond the main text from version 21.0 on, and they became part of the resource kit together with the color dialog box. The version also detected the language of text automatically with TX Spell .NET, added field adapters for the content controls of MS Word documents and reported the version of the control in code.

Version 21.0 was released in September 2014 as TX Text Control X11, together with TX Spell .NET 5.0 and TX Barcode .NET 4.0, as the blog article TX Text Control X11 Released: Cross-browser Template Editing announced. Its main feature, the HTML5 Web Editor for ASP.NET, and the ServerVisualization namespace that renders a ServerTextControl as images belong to TX Text Control .NET Server and aren't listed here.

Version 21.0 at a Glance

AreaWhat is new
Find and replaceSearching text frames and headers and footers, whole words only
LocalizationThe Find, Replace and Color dialog boxes in the resource kit
ProofingAutomatic language detection with TX Spell .NET 5.0
Content controlsField adapters for the content controls of MS Word
TablesSelecting the part of a table between two cells
Version informationGetVersionInfo and the VersionInfo class

Find and Replace

The built-in dialog boxes for finding and replacing text, which TextControl.Find and TextControl.Replace open, received new options:

  • All text parts. A search is no longer limited to the main text. It continues in the text frames and in the headers and footers of the document.
  • Whole words. The FindOptions value MatchWholeWord finds only occurrences of the search text that are whole words.

Search and Replace shows how to search a document in the current version.

Localization

The Find, Replace and Color dialog boxes were added to the resource kit, the set of resources that satellite assemblies translate, so that their texts can be localized like those of the other built-in dialog boxes. See Localization and Resource Kit.

Content Control Adapters

Content controls are the controls that MS Word adds to documents and templates to automate them. The DocumentServer.Fields namespace received an adapter class for each kind, so that you read and change them without editing the parameters of the underlying ApplicationField:

Document Processing

Upgrade to Version 21.0

Version 21.0 has no update notes.

New Classes, Properties, Methods and Events

The classes and members below are the ones that the What's New documentation of version 21.0 lists for TX Text Control .NET for Windows Forms. Names are relative to the TXTextControl namespace, each name links to its current reference page, and "(obsolete)" marks a member that is obsolete today. The version's own list names the ListItems property of DropDownListContentControl as a property of DateContentControl; it is listed here with the class it belongs to.

New Classes

Members by Class

Next Steps