Products Technologies Demo Docs Blog Support Company

Sneak Peek: TX Text Control .NET for WPF X12

Sneak Peek X12: TX Text Control .NET for WPF This article describes upcoming features that will be part of the next version of TX Text Control. We just received an internal build from our engineering with the latest versions of TX Text Control X12. The WPF version of TX Text Control is getting a complete new rendering engine. As a result of this new engine, the WPF "Airspace"-issue will be resolved. In earlier versions, the TX Text Control component (and many other components) were always…

Sneak Peek: TX Text Control .NET for WPF X12

Sneak Peek X12: TX Text Control .NET for WPF

This article describes upcoming features that will be part of the next version of TX Text Control.

We just received an internal build from our engineering with the latest versions of TX Text Control X12. The WPF version of TX Text Control is getting a complete new rendering engine. As a result of this new engine, the WPF "Airspace"-issue will be resolved. In earlier versions, the TX Text Control component (and many other components) were always rendered on top of other controls.

The WPF "Airspace"-Problem

The following animated screenshot shows TextControl in a ScrollViewer. On scrolling, the TextControl is moving out of the ScrollViewer overlapping other controls:

TX Text Control .NET for WPF X12 Sneak Peek

Animation 1: Older versions of TX Text Control .NET for WPF

Thanks to the new rendering engine of TX Text Control X12, the TextControl object doesn't overlap other controls in the same scenario:

TX Text Control .NET for WPF X12 Sneak Peek

Animation 2: TX Text Control .NET for WPF X12

Full WPF Rendering - RenderTransform

Render transforms are typically used for animating or applying an effect to an UI element in WPF. TX Text Control .NET for WPF X12 will support all transformations including rotate, skew and flip.

The following screenshot shows a rotated TextControl object on a Window:

TX Text Control .NET for WPF X12 Sneak Peek

WPF Adorner

An Adorner is a FrameworkElement that is bound to an UIElement. Adorners are rendered in an AdornerLayer, which is a rendering surface that is always on top of the adorned element or a collection of adorned elements.[1]

Adorners can be added in version X12 that are rendered on top of TextControl as expected.

TX Text Control .NET for WPF X12 Sneak Peek

RibbonBar Integration

Version X12 comes with fully functional ribbon tabs for the most typical tasks in a word processing application. The ribbon tabs are pre-defined components that can be bound to TX Text Control directly:

<DockPanel>
    <my:Ribbon DockPanel.Dock="Top">
        <WPF:RibbonFormattingTab x:Name="format1"
            Header="Formatting" IsEnabled="True" />
    </my:Ribbon>

    <WPF:TextControl RibbonFormattingTab="format1" x:Name="textControl1" />
</DockPanel>

When starting the application, the formatting ribbon tab is automatically connected to the TextControl instance:

TX Text Control .NET for WPF X12 Sneak Peek

The ribbon tabs are completely customizable and extendable that helps you to integrate TX Text Control into your existing application.

Stay tuned for more details.

References

[1] Microsoft Developer Network (MSDN): Adorners Overview (https://msdn.microsoft.com/en-US/library/ms743737%28v=vs.110%29.aspx)

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

WPF

Text Control combines the power of a reporting tool and an easy-to-use WYSIWYG word processor - fully programmable and embeddable in your WPF application. TX Text Control .NET for WPF is a royalty-free, fully programmable rich edit control that offers developers a broad range of word processing features in a reusable component for Visual Studio.

See WPF products

Related Posts

ASP.NETWindows FormsWPF

TX Text Control 33.0 SP3 is Now Available: What's New in the Latest Version

TX Text Control 33.0 Service Pack 3 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…


ASP.NETWindows FormsWPF

TX Text Control 33.0 SP2 is Now Available: What's New in the Latest Version

TX Text Control 33.0 Service Pack 2 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…


ActiveXASP.NETWindows Forms

Service Pack Releases: What's New in TX Text Control 33.0 SP1 and 32.0 SP5

TX Text Control 33.0 Service Pack 1 and TX Text Control 32.0 Service Pack 5 have been released, providing important updates and bug fixes across platforms. These service packs improve the…


ASP.NETWindows FormsWPF

The Wait is Over: TX Text Control for Linux is Officially Here

We are very excited to announce the release of TX Text Control 33.0 which includes the long awaited Linux version of TX Text Control. This version allows you to integrate TX Text Control into your…


ASP.NETWindows FormsWPF

Full .NET 9 Support in Text Control .NET Components for ASP.NET Core,…

.NET 9 will be launched tomorrow, November 12, at the .NET Conf 2024 with updates to cloud capabilities, security, and performance. TX Text Control .NET components are fully compatible with .NET 9…