ExtendViewIntoTitleBar and keeping controls under TitleBar interactible
See original GitHub issueIf we use ui:TitleBar.ExtendViewIntoTitleBar ="True" but have a control, like a button at the top (overlapping with TitleBar), the element cannot be interacted with as TitleBar handles it. Is it possible to have just a right section of TitleBar perform its original task with 3 buttons and section for moving the window?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
CoreApplicationViewTitleBar.ExtendViewIntoTitleBar ...
When ExtendViewIntoTitleBar is true, the view's content will extend by CoreApplicationViewTitleBar.Height into the title bar region. The region will still be ...
Read more >[WinUI3 Reunion 0.5] "ExtendsContentIntoTitleBar" Hides ...
Title bar controls to right side have hit target problems. Only work if hovered on bottom 5px. Acrylic Brush with host backdrops missing,...
Read more >uwp - NavigationView can not to respond to interaction
When I add a custom title bar, it does not respond to user actions. But remove TextBlock , It is OK. I have...
Read more >Using a TreeView Control for Navigation in UWP
In this article we'll show how to use a TreeView as the main navigation control in a UWP app. We will stay as...
Read more >Build this app using Fluent Design | by Windows Developer
We'll walk though Fluent Design aspects of the application development process and ... ExtendViewIntoTitleBar = true;var titleBar = ApplicationView.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Setting
WindowChrome.IsHitTestVisibleInChrome="True"on the control should do the trick.@niels9001,
This is a WPF specific feature. I don’t think adding this to the README of this repo will be necessary 🤷♂️
Hey pal, Are you planning to update PowerToys settings window with ModernWpf’s window styles?
Even if you can’t extend xaml islands content into the window’s titlebar (due to the air space issue, you can’t extend NavView from xaml islands into WPF’s title bar, it will just overlay the titlebar (including control box buttons) & won’t stay within it) we at least can have a theme aware & modern window chrome. Please take this into consideration 🙏