Window.ExtendsContentIntoTitleBar vs AppWindowTitleBar.ExtendsContentIntoTitleBar #2816
Unanswered
adamplonka
asked this question in
General
Replies: 1 comment 1 reply
-
Title bar customization is very confusing (for the moment?)...🙄
I wouldn't use the
Yes.
I've heard (in one of the Community Calls I think?) that the team is considering to improve title bar customization. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Both
Window
andAppWindowTitleBar
have anExtendsContentIntoTitleBar
property but they have different behavior.Which one is preferred and should be used?
Window.ExtendsContentIntoTitleBar
seems like an obvious choice because it's "natively" supported by Window without any fishy Microsoft.UI.Win32Interop calls, but it behaves differently thanAppWindowTitleBar
one - seems like it's using XAML ChromeWindow and looks worse, flickers on window resize and the "restore" icon is blurred. However, the XAML is more customizable and maybe it's supported on older windows systems too?The AppWindowTitleBar is used in all samples on https://docs.microsoft.com/en-us/windows/apps/develop/title-bar?tabs=wasdk#tabpanel_5_wasdk site
but it requires windows 11 to work.
Is
AppWindowTitleBar.IsCustomizationSupported()
check required when usingWindow.ExtendsContentIntoTitleBar
?Are there any plans on supporting title bar customization on windows 10 in the future?
Beta Was this translation helpful? Give feedback.
All reactions