question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ExtendViewIntoTitleBar and keeping controls under TitleBar interactible

See original GitHub issue

If 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:open
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
Kinnaracommented, Dec 22, 2019

Setting WindowChrome.IsHitTestVisibleInChrome="True" on the control should do the trick.

1reaction
ShankarBUScommented, Oct 27, 2020

@niels9001,

Please add that to the Readme.md

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 🙏

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found