TX Text Control .NET for WPF

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

Topic

Content controls of MS Word documents became programmable in TX Text Control 21.0 through a set of field adapters. The WPF TextControl also learned to detect the language of its text with TX Spell .NET, and its find and replace dialog boxes began to search the whole document.

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. The HTML5 Web Editor and the ServerVisualization namespace that the same version introduced belong to TX Text Control .NET Server and aren't listed here.

Version 21.0 at a Glance

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

Language Detection

With TX Spell .NET 5.0 connected, setting WPF.TextControl.IsLanguageDetectionEnabled to true detects the language of all text that has the neutral language. ServerTextControl.IsLanguageDetectionEnabled does the same without a user interface. See Spell Checking and Hyphenation.

Find and Replace

  • The whole document. The built-in find and replace dialog boxes continue the search in text frames and in headers and footers instead of stopping at the end of the main text.
  • Whole words. The FindOptions value MatchWholeWord finds only occurrences of the search text that are whole words.
  • Localization. The Find, Replace and Color dialog boxes are part of the resource kit and can be translated. 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:

Fields and Subtext Parts describes the fields of MS Word documents and their adapter classes today.

Tables and Version Information

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 WPF. 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