dotnet / wpf

WPF is a .NET Core UI framework for building Windows desktop applications.
MIT License
7.08k stars 1.17k forks source link

Epic - Support Windows 11 look and feel for WPF controls #5793

Open OliaG opened 2 years ago

OliaG commented 2 years ago

Currently controls in WPF application have an old (not Windows 11) look: no rounded corners, different shades, ... On the picture bellow you can the difference between a Windows window on the left and WPF window on the right. The WPF window itself is Windows 11 but everything inside it is not. image

lindexi commented 2 years ago

See https://github.com/dotnet/wpf/issues/4749

Poopooracoocoo commented 2 years ago

Fingers crossed that we'll also see Windows 10 styling for the .NET 7 release

lindexi commented 2 years ago

@Poopooracoocoo Let's use https://github.com/lepoco/wpfui

Poopooracoocoo commented 2 years ago

Good solution but we shouldn't have to use it, y'know? This is me being a user advocate :p

Edit: Apart from the free and open-source solution, WPF UI, paid solutions like DevExpress and Telerek have some really cool stuff comin' in 2022, including a Windows 11 theme for WPF.

johnottone commented 1 year ago

@lindexi

@Poopooracoocoo Let's use https://github.com/lepoco/wpfui

I started using WPF UI not too long ago for a few projects and I think it is on point. It doesn't use any 3rd party libraries just basic WPF controls, (albeit with slightly modified styles. He even incorporated the backdrop functionality and fluent window. The only thing I am noticing is that his Pane Toggle button does not work on the fluent window. I have reached out to him to see if I'm just missing something but, in any case, a lot can be learned from his implementation.

lindexi commented 1 year ago

Reference #7663

rilakuma123 commented 5 months ago

Commenting here for those subscribed to the issue but haven't kept up to date. It's been a long time coming... .NET 9 is slated to add Windows 11 theming for WPF. .NET 9 is currently available in Preview 3 and the final version is reportedly slated to release at the end of the year.

Since Microsoft has things scattered all over the place, here are some links: https://github.com/dotnet/wpf/issues/8538 https://github.com/dotnet/wpf/discussions/8533 https://github.com/dotnet/wpf/labels/Win%2011%20Theming https://github.com/orgs/dotnet/projects/147 There's even a control gallery so you can check out the look and feel: https://apps.microsoft.com/store/detail/app/9ndlx60wx4kq (Windows 11 required)