WinUI3 - Title bar without top line when High Contrast Mode

LeonardodaCunhaMeloSantos-3381 0 Reputation points
2023-12-18T17:20:23.4433333+00:00

Hello!

I need help about issue on WinUI Platform. When we set ExtendsContentIntoTitleBar to true in the MainWindow constructor to create custom TitleBar, we have strange behavior: On High Constrast mode, there's no top line in the window.

There are some opened issues in Microsoft's GitHub but we don't have solution yet.

https://github.com/microsoft/microsoft-ui-xaml/issues/8743

https://github.com/microsoft/microsoft-ui-xaml/issues/6901

https://github.com/microsoft/microsoft-ui-xaml/issues/6901

Is there some solution or workaround to solve this case?

TitleBar_NoTopLine_HighContrast_Image

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.
748 questions
{count} votes