Extended AppWindow titlebar top border not visible on Windows 10

Author: bogdan-patrauceanCreated Mar 5, 2023Updated Sep 30, 2026
Labelsbugworking on itteam-CompInputarea-Windowing

Describe the bug

When having a custom titlebar using ExtendsContentIntoTitleBar the top border of the app will dissapear.

Steps to reproduce the bug

  1. Create an empty project
  2. Configure the titlebar
public MainWindow()
{
     AppWindow.TitleBar.ExtendsContentIntoTitleBar = true;
}
  1. Run the app

Expected behavior

I would expect to see the top border, same way we can see it when using MainWindow.ExtendsContentIntoTitleBar. Now that the API is supported on Windows 10 too, it should work as it's not a compatibility problem anymore.

Screenshots

image This is how it looks on Windows 10.image

This is how it looks on Windows 11.

NuGet package version

Windows App SDK 2.2

Packaging type

Packaged (MSIX)

Windows version

Windows 10 version 22H2 (19045)

IDE

Visual Studio 2022

Additional context

This issue is in WinAppSdk 1.2 as well.

Source: microsoft/microsoft-ui-xaml