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

> TX Text Control .NET for WPF 27.0: high DPI displays, WPF.ResourceProvider for built-in icons and texts, UI Automation patterns and text field highlighting.

- **Product:** TX Text Control .NET for WPF
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for WPF > What's New > Older Versions > What's New in TX Text Control .NET for WPF 27.0
- **1737 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/whats-new/older-versions/2700/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/whats-new/older-versions/2700/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/whats-new/older-versions/2700/llms-full.txt

---

Displays with more than 96 DPI shaped version 27.0 of TX Text Control .NET for WPF: the built-in user interface received high-resolution images, and a new class hands these images and texts to the rest of an application. The version also made the control accessible through UI Automation and let every kind of text field be highlighted.

Version 27.0 was released on May 28, 2019, as TX Text Control X17, together with TX Text Control .NET Server, TX Text Control .NET for Windows Forms and TX Text Control ActiveX. Its last full installer, that of Service Pack 2, is dated February 6, 2020. The features below are the ones added since version 26.0.

### Version 27.0 at a Glance

| Area | What is new |
|---|---|
| Display scaling | Display scale factors other than 96 DPI, high-resolution images for the built-in user interface |
| Resources | `WPF.ResourceProvider` returns the built-in icons, texts and tooltips |
| Accessibility | The UI Automation `TextPattern` and `ValuePattern` |
| Text fields | Highlighting of hypertext links, application fields, page number fields and all other text fields |
| Reporting | The **Reporting** ribbon tab connected to a field navigator sidebar |

### Display Scaling

TX Text Control handles display scale factors other than 96 DPI and supports applications that are System DPI aware. All parts of the built-in user interface, such as the ribbon tabs, the dialog boxes, the rulers and the selection frames, were adapted and have high-resolution images, so that they can be shown on displays with 300 DPI and more. [DPI and Display Scaling](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/dpi-scaling/llms-full.txt) describes the settings of today's versions.

### ResourceProvider

The new static class [WPF.ResourceProvider](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/llms-full.txt) gives an application access to the resources of the built-in ribbon tabs and toolbars, so that it can use them in its own user interface.

- **Images.** [GetSmallIcon](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/getsmallicon-method/llms-full.txt) and [GetLargeIcon](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/getlargeicon-method/llms-full.txt) return the image of an item, identified by a unique identifier such as the name of a ribbon item, in the resolution of a given display scale factor. [ResourceProvider.ImageSourceSettings](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider-imagesourcesettings/llms-full.txt) adds settings such as the fill and stroke colors and the culture.
- **Texts.** [GetText](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/gettext-method/llms-full.txt), [GetToolTipTitle](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/gettooltiptitle-method/llms-full.txt), [GetToolTipDescription](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/gettooltipdescription-method/llms-full.txt) and [GetKeyTip](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/getkeytip-method/llms-full.txt) return the texts of an item.

See [Custom Tabs and Commands](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/ribbon-ui/custom-tabs/llms-full.txt) for icons of the built-in items on tabs of your own.

### UI Automation

`TextControl` supports the UI Automation `TextPattern` and `ValuePattern` in WPF applications. `TextPattern` exposes the content of the control, and the text ranges it requires expose format and style attributes of contiguous or disjoint spans of text. [Accessibility and UI Automation](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/accessibility/llms-full.txt) shows how an automation client reads them.

### Text Fields

Every kind of text field can be highlighted with a color, for example a [HypertextLink](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hypertextlink/llms-full.txt), an [ApplicationField](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/applicationfield/llms-full.txt) such as a merge field or a [PageNumberField](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/pagenumberfield/llms-full.txt).

- **When a field is highlighted.** [TextField.HighlightMode](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textfield/highlightmode-property/llms-full.txt) takes `Always`, `Never` or `Activated`. With `Activated`, the field is highlighted only while it contains the input position.
- **The color.** [TextField.HighlightColor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textfield/highlightcolor-property/llms-full.txt) sets the color. It has to be semitransparent, with an alpha value below 255, so that the text of the field stays visible, and it can then be combined with other colors of the text. The default is black with an alpha value of 60, a light gray.

[Fields, Hyperlinks, and Bookmarks](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-editor/fields/llms-full.txt) describes the text fields of a document.

### Reporting Ribbon Tab

[RibbonReportingTab.FieldNavigatorSidebar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonreportingtab/fieldnavigatorsidebar-property/llms-full.txt) connects the **Reporting** ribbon tab to a field navigator sidebar, which then shows the structure of the loaded template automatically. See [Reporting Ribbon and WPF Dialog Boxes](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/ribbon-dialogs/llms-full.txt).

### Upgrade to Version 27.0

- **No update notes.** The What's New documentation of version 27.0 lists no changes to existing classes, properties, methods or events.
- **Breaking changes.** No change of version 27.0 is known to break existing code. [Breaking Changes](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/installation/upgrading/breaking-changes/llms-full.txt) starts with version 30.0.

### New Classes, Properties, Methods and Events

These are the classes and members that the What's New documentation of version 27.0 lists for TX Text Control .NET for WPF. Names are relative to the `TXTextControl` namespace. Each name links to its current reference page.

#### New Classes

- [WPF.ResourceProvider](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/llms-full.txt)
- [WPF.ResourceProvider.ImageSourceSettings](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider-imagesourcesettings/llms-full.txt)

#### .NET Members by Class

| Class | Properties | Methods |
|---|---|---|
| [TextField](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textfield/llms-full.txt) | [HighlightColor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textfield/highlightcolor-property/llms-full.txt), [HighlightMode](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textfield/highlightmode-property/llms-full.txt) |  |
| [WPF.ResourceProvider](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/llms-full.txt) |  | [GetKeyTip](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/getkeytip-method/llms-full.txt), [GetLargeIcon](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/getlargeicon-method/llms-full.txt), [GetSmallIcon](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/getsmallicon-method/llms-full.txt), [GetText](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/gettext-method/llms-full.txt), [GetToolTipDescription](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/gettooltipdescription-method/llms-full.txt), [GetToolTipTitle](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/gettooltiptitle-method/llms-full.txt) |
| [WPF.ResourceProvider.ImageSourceSettings](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider-imagesourcesettings/llms-full.txt) | [Culture](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider-imagesourcesettings/culture-property/llms-full.txt), [FillColor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider-imagesourcesettings/fillcolor-property/llms-full.txt), [StrokeColor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider-imagesourcesettings/strokecolor-property/llms-full.txt) |  |
| [WPF.RibbonReportingTab](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonreportingtab/llms-full.txt) | [FieldNavigatorSidebar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonreportingtab/fieldnavigatorsidebar-property/llms-full.txt) |  |

### Next Steps

- [Version 28.0](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/whats-new/older-versions/2800/llms-full.txt): the features of the next version.
- [Version 26.0](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/whats-new/older-versions/2600/llms-full.txt): the features of the previous version.
- [Older Versions](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/whats-new/older-versions/llms-full.txt): all versions from 29.0 back to 10.1.
- [TX Text Control X17 has been Released](https://www.textcontrol.com/blog/2019/05/28/tx-text-control-x17-released/): the release announcement on the Text Control Blog.

---

## Nearby

- **Previous:** [What's New in TX Text Control .NET for WPF 28.0](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/whats-new/older-versions/2800/llms-full.txt)
- **Next:** [What's New in TX Text Control .NET for WPF 26.0](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/whats-new/older-versions/2600/llms-full.txt)
