Skip to content

Hide "TitleBarMinMaxCloseContainer" #8425

Answered by DarranRowe
Petrarca181 asked this question in Q&A
Discussion options

You must be logged in to vote

It would be nice to know precisely what you are doing here.

The standard title bar removes these buttons without issue.

Microsoft.UI.Windowing.AppWindowTitleBar.ExtendsContentIntoTitleBar removes these buttons without issue.

It is only Microsoft.UI.Xaml.Window.ExtendsContentIntoTitleBar that ignores the window style.

So it is possible, the issue is that one of the methods to extend the content into the title bar does a poor job of mirroring the style set on the window, and the use of AppWindowTitleBar is the recommended method, assuming there are no bugs.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Petrarca181
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants