microsoft-ui-xaml: ExtendsContentIntoTitleBar and wrong window top border color
Describe the bug
In WinUI 3 project, the top border of window is drawn black when ExtendsContentIntoTitleBar is true.
Steps to reproduce the bug
- Create ‘Blank App, Packaged (with WinUI 3 in Desktop)’
- Set
ExtendsContentIntoTitleBartotruein the MainWindow constructor
Expected behavior
No response
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.0
Windows app type
- UWP
- Win32
Device form factor
Desktop
Windows version
Windows 10 (21H2): Build 19044
Additional context
No response
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 7
- Comments: 17 (3 by maintainers)
A workaround:
It is in the pipeline of the team and should be done in a future release. The developers will update the high contrast bug if it is fixed internally and with the tag of build it will be coming in .
This bug is still present in the 1.1 version.