ctodx

This Blog

News

Favorite Posts

Archives

WPF Rich Text Editor: Upcoming Breaking Change

Starting with v17.1, we are improving how we generate the ribbon for the WPF Rich Text Editor with regard to where we source the images used. Although we shall be maintaining the current behavior alongside the new enhancements for v17.1, this backward compatibility will be removed in v17.2, causing a possible breaking change.

WrenchCurrently the ribbon generation process uses images from two different sources: the DevExpress.RichEdit.Core.dll assembly, as well as the WinForms Rich Text Editor (no, that is not a typo!). To put it mildly, this is not optimal. In v17.1, we have copied these images to the DevExpress.Images.dll assembly as well, and the new ribbon generation code for the Rich Text Editor will source the images from there. However, this could cause a breaking change since we are referencing an assembly that you may not be deploying as part of your app.

Please note that the images are exactly the same, they are just provided in a different assembly.

Of course, this double collection of ribbon images could be a source of future bugs: we have to ensure any new or changed images are compiled into two completely different assembly sets. Indeed you could view this as a special kind of “code duplication”. Hence, in v17.2 we shall be removing these Rich Edit ribbon images from the Core assemblies, and from then on they will only be available from the Images assembly.

To avoid future problems, when you upgrade to v17.1, please ensure that the DevExpress.Images.dll assembly is included in your build process.

Published Apr 20 2017, 09:47 AM by
Bookmark and Share

Comments

No Comments

About Julian Bucknall (DevExpress)

Julian is the Chief Technology Officer at Developer Express. You can reach him directly at julianb@devexpress.com. You can also follow him on Twitter with the ID JMBucknall.
LIVE CHAT

Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

FOLLOW US

DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2017 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners