iNKORE-NET / UI.WPF.Modern

Modern (Fluent 2) styles and controls for your WPF applications
GNU Lesser General Public License v2.1
447 stars 39 forks source link

Extend TabView (TabControl) tabs in title bar #71

Open manfromarce opened 3 months ago

manfromarce commented 3 months ago

Describe the solution you'd like This library is awesome. It would be a nice addition if a TabView could be extended in the title bar, as it can be achieved in WinUI 3 / UWP. A sample could also be added to the gallery app.

Describe alternatives you've considered I have tried adding a panel with fixed minimum width and a TitleBar control to the TabStripFooter and setting ExtendViewIntoTitleBar to true, as this is how it's usually done in WinUI, but the tabs and buttons are not hit test visible this way.

NotYoojun commented 3 months ago

WindowChrome.IsHitTestVisibleInChrome property needs to be used.