Windows 11 Support for DevExpress Controls (WinForms & WPF)

News
07 October 2021

As you already know, Microsoft Windows 11 went live this week. If you have yet to do so, you can download Microsoft’s new OS here: https://www.microsoft.com/en-us/windows/windows-11 (the good news is that many Windows 10 users are eligible for a free upgrade!).

Windows 11 features numerous changes, including security updates, UX enhancements, Microsoft Edge upgrades, and more (What's new in Windows 11). In this post, we'll explore two features that directly impact desktop (WinForms/WPF) application developers.

Appearance-Related Updates

Windows 11 leverages Microsoft’s "Fluent" design paradigm. To learn more about Microsoft’s design initiative, please review the following article: Windows 11 design principles.

Among notable changes to Windows 11 is the return of rounded corners for forms, panels and dialogs.

Once you upgrade to DevExpress v21.2 (currently available as an EAP), your DevExpress-powered WinForms and WPF apps will support rounded forms within Windows 11. If using WinForms, you can toggle the static WindowsFormsSettings.AllowRoundedWindowCorners setting to manually control the appearance of form corners. For WPF, you can use the static ThemedWindow.RoundCorners setting.

And yes, we also expect to release a new Skin/Theme inspired by Windows 11/Office 2021 in the first half of 2022 (v22.1 major update). We’ll share more information in this regard later this year (our #1 priority at present is to deliver v21.2 in November).

Snap Layout and Snap Groups

Windows 11 users are able to quickly switch between multiple applications and re-arrange them across the desktop.

Hover your mouse over the maximize button in the upper right corner of a window, and Windows will suggest a few layout options for your app. Click the desired option and the app will instantly snap into position. Other apps can be added to remaining regions of the selected layout option.

Applications placed into different portions of a layout are now accessible from the Windows Taskbar as a single Snap Group — you can minimize and access the entire group without having to control each window individually (as was the case in Windows 10).

DevExpress WinForms forms are fully compatible with this new Windows 11 UI paradigm/implementation. DevExpress WPF windows currently do not support the Snap Layouts menu because of the WPF platform's architectural differences. We are working side-by-side with Microsoft to implement the Snap Layout support for WPF windows in future releases.

Application Compatibility

In 2018, Microsoft started its App Assure initiative (applications will work on Windows 10, and if they do not — Microsoft engineers will help find a solution).

Microsoft claims that application compatibility remains a core tenet of their planning and development process. According to Microsoft, this application compatibility promise applies to Windows 11. To double-check whether your application works as expected on Windows 11, please review the following official testing routine: Testing Guidelines.

Tell Us What You Think

If you’ve already moved to Windows 11 or are considering the platform for your user-base, please comment below and tell us what you think of Microsoft’s new OS — and of course tell us what you’d like to see us deliver in 2022 (to better serve your business needs as it relates to Windows 11).


10/14/2021: Added the Snap Layout feature limitation for WPF windows.

Free DevExpress Products – Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We’ll be happy to follow-up.
Heiko Mueller
Heiko Mueller
Thanks for the informations. I've use DX with Windows 11 since a few months now (Dev-Channel) and haven't found any problem so far. 
6 October 2021
Garry Lowther
Garry Lowther

I am really looking forward to 21.2 and also the 22.1 update with Windows 11/Office 2021 themes.

Our enterprise software comprising 1.5 million lines of .NET WinForms code has been given new life by Microsoft and DevExpress.

Thank you.

7 October 2021
CRM-49a54daa-6c16-4310-9f10-0ce9c7ea3f22
Lakra4k
Good news! what's the day of launch? 
7 October 2021
Dmitry (DevExpress)
Dmitry (DevExpress)
@Lakra4k no specific date for the official release yet, but we expect to ship v21.2 beta next week.
7 October 2021
Dmitry (DevExpress)
Dmitry (DevExpress)
@Garry thank you, that is really really encouraging :)
7 October 2021
CRM-6bb49f0a-8418-421c-9e73-e0107e35f596
Customer205712
I hope you will supply Visual Studio 2022 support in v21.2...
7 October 2021
Dmitry (DevExpress)
Dmitry (DevExpress)
@Customer205712 yes, we prepare an announcement regarding VS2022 and .NET 6. Keep an eye for new blogposts :)
8 October 2021
CRM-49a54daa-6c16-4310-9f10-0ce9c7ea3f22
Lakra4k
@Dmitry Thanks for notice! I'll waiting for that!
8 October 2021
Michael M. Maier
Michael M. Maier

"For WPF, you can use the RoundCorners setting for ThemedWindow objects."

Just installed 21.2.2 Beta. But I cant't find RoundCorners setting for ThemedWindow in a WPF-Project.

Will this be available in 21.2.3 or do I miss something?

14 October 2021
Dmitry (DevExpress)
Dmitry (DevExpress)

@Michael I've checked our docs and looks like that's a static property: https://docs.devexpress.com/WPF/DevExpress.Xpf.Core.ThemedWindow.RoundCorners?v=21.2&p=netframework


I'll update the post accordingly, thanks for bringing our attention to this.

14 October 2021
Michael M. Maier
Michael M. Maier

@Dmitry Thank you for the clarification.

The property RoundCorners seems not to exist in 21.2.2. I will wait for 21.2.3.

14 October 2021
Dmitry (DevExpress)
Dmitry (DevExpress)
@Michael are you using NuGet packages? If yes, could you please check the version? If yours is "21.2.2-pre-21250", that's the alpha version, you need to update it to "21.2.2-beta".
15 October 2021
Michael M. Maier
Michael M. Maier

@Dmitry no, I used the Unified Installer. But my package-version is 21.2.2-pre-21250.

In project file:

<PackageReference Include="DevExpress.Wpf" Version="21.2.*-*" />

Should I create a support ticket for this issue?



15 October 2021
Dmitry (DevExpress)
Dmitry (DevExpress)
@Michael yes please, our WPF guys will certainly look into it. Something weird is going on here :)
15 October 2021
Jan Thordsen
Jan Thordsen
Will rounded corners also apply to other controls like buttons or textedits
20 October 2021
Dmitry (DevExpress)
Dmitry (DevExpress)
@Jan No, windows (forms) only. Other visual updates will be available in our next Windows/Office-inspired skin.
21 October 2021
Bartosz Bąkowski
Bartosz Bąkowski

Great, thanks.

But context menus and popups guys! We need adaptation of "arrow concept" (arrow to go back instead of traditional popup unfolding on mouse hover; popup stays in same place).

Oh, and TextEdit need modernization also asap.


regards


21 October 2021
Dmitry (DevExpress)
Dmitry (DevExpress)

@Bartosz did you try the "Inplace" mode for the BarManager.PopupShowMode property? It seems to be exactly what you've described.


As for TextEdit modernization, we released the Advanced Mode for this editor in v20.2. This mode brings a whole lot of previously unsupported features. If that's not what you're after, please share more details about what you'd expect from an updated TextEdit.

21 October 2021
Bartosz Bąkowski
Bartosz Bąkowski

Wasn't aware of these features!

Thank you. Your winforms product is amazing! Please keep it alive and well :)

22 October 2021
Dmitry (DevExpress)
Dmitry (DevExpress)
@Bartosz Glad to help :) If you ever find yourself missing a feature or behavior that seems pretty logical, do not hesitate to ask our support for assistance. There're good chances something similar to what you'd love to see is already implemented (it is understandable that keeping track of all those small additions throughout the years can be really challenging). And if not, our support guys always share customer ideas with their teams and save these ideas in the backlog, so your valuable suggestions will never be lost.
3 November 2021
Volkmar Rigo
Volkmar Rigo
Is there an estimated release date for the new Skin/Theme inspired by Windows 11/Office 2021?
16 May 2022
Dmitry (DevExpress)
Dmitry (DevExpress)
@Volkmar it's already available in v22.1 beta. See our recent posts for the announcement, the newest WinForms skin is called "WXI".
1 June 2022

Please login or register to post comments.