dotMorten / WinUIEx

WinUI Extensions
https://dotmorten.github.io/WinUIEx
MIT License
572 stars 36 forks source link

Support tabbed backdrop for Win11 22H2 and up #114

Closed X1nto closed 1 year ago

X1nto commented 1 year ago

Windows 11 22H2 introduced new backdrop APIs which include the Tabbed backdrop type. The reference can be found here.

This is basically the backdrop that the new tabbed Notepad uses: image

An example implementation

X1nto commented 1 year ago

Actually, I think setting Kind to BaseAlt has the same effect. The backdrop looks pretty similar: image

Backdrop = new MicaSystemBackdrop
{
    Kind = Microsoft.UI.Composition.SystemBackdrops.MicaKind.BaseAlt
};
dotMorten commented 1 year ago

Closing. Also backdrop APIs in WinUIEx has been deprecated in favor of v1.3's built-in backdrop APIs