What Changed
Type/Signature Changes
We changed member types and signatures in the following APIs:
-
The
DevExpress.ExpressApp.Editors.IAppearanceFormat.
FontStyle
property type changed fromSystem.Drawing.FontStyle
toDevExpress.Drawing.DXFontStyle
. -
The
DevExpress.ExpressApp.Editors.StaticText.
FontStyle
abstract property type changed fromSystem.Drawing.FontStyle
toDevExpress.Drawing.DXFontStyle
. -
The
DevExpress.ExpressApp.ConditionalAppearance.AppearanceAttribute.
FontStyle
property type changed fromSystem.Drawing.FontStyle
toDevExpress.Drawing.DXFontStyle
. -
The
DevExpress.ExpressApp.Utils.ImageInfo.
Image
property type changed fromSystem.Drawing.Image
toDevExpress.Drawing.DXImage
. -
In the following classes, the unmapped
Image
property type changed fromSystem.Drawing.Image
tobyte[]
:DevExpress.Persistent.BaseImpl.EF.PermissionPolicy.PermissionPolicyActionPermissionObject
(a library used with Entity Framework Core and Entity Framework 6 ORMs)DevExpress.Persistent.BaseImpl.PermissionPolicy.PermissionPolicyActionPermissionObject
-
The
DevExpress.ExpressApp.ConditionalAppearance.
AppearanceItemFontStyle
constructor'sfontStyle
parameter type was changed fromSystem.Drawing.FontStyle
toDevExpress.Drawing.DXFontStyle
. -
The
DevExpress.ExpressApp.Utils.ImageLoader.
LoadFromResource
method's return type changed fromSystem.Drawing.Image
toDevExpress.Drawing.DXImage
. -
The
DevExpress.ExpressApp.ConditionalAppearance.IAppearance.
FontStyle
property type changed fromSystem.Drawing.FontStyle
toDevExpress.Drawing.DXFontStyle
. -
The
DevExpress.Persistent.Base.General.ITreeNodeImageProvider.
GetImage
method's return type changed fromSystem.Drawing.Image
toDevExpress.Drawing.DXImage
. -
The
DevExpress.ExpressApp.Web.Editors.StaticTextViewItem.
FontStyle
property type changed fromSystem.Drawing.FontStyle
toDevExpress.Drawing.DXFontStyle
. -
The
DevExpress.ExpressApp.Web.Layout.WebLayoutItemAppearanceAdapter.
FontStyle
property type changed fromSystem.Drawing.FontStyle
toDevExpress.Drawing.DXFontStyle
. -
The
DevExpress.ExpressApp.Utils.CustomLoadImageFromStreamEventArgs.Image
property type changed fromSystem.Drawing.Image
toDevExpress.Drawing.DXImage
.
Reasons for Change
These new types help us resolve issues caused by the following Microsoft breaking change: System.Drawing.Common only supported on Windows. These changes also allow us to ensure proper operation of our products on all supported non-Windows environments (Linux and macOS), as well as in Azure App Service and Docker containers in .NET 6+.
Impact on Existing Apps
This change affects your application if you use the APIs mentioned above.
How to Update Existing Apps
To update your applications, use the list above to change property, parameter, and return value types in your applications.
The DevExpress.Drawing.DXImage
type can be implicitly cast to System.Drawing.Image
.
The System.Drawing.FontStyle
enumeration type can be explicitly cast to DevExpress.Drawing.DXFontStyle
and vice versa.
How to Revert to the Previous Behavior
Due to the nature of this change, the previous behavior is no longer accessible.