Custom title bar not working in Unpackaged mode of Winui3 in Windows 10

Sachi 221 Reputation points

I have created Winui3vApp with custom title bar by using below link

the windows default caption buttons works in packaged mode but not working in unpackaged
Even after adding compatability code in App.manifest .

is there any way to make custom titlebar in winui3 unpackaged mode Windows 10 OS?

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
749 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 83,106 Reputation points

    I just uploaded a test sample which works fine on my OS (Windows 10 21H1) : WinUI3_CustomCaption

    I added the 2 styles from generic.xaml in App.xaml to customize System Buttons (rounded for the test) :


    1 person found this answer helpful.