Finally, I have to say that in order to have additional screen real estate (which I need), you can expand the client area to the title and make the background color of 3 buttons (minimize, maximize, close) transparent:
With a standard header:
![enter image description here](https://fooobar.com//img/eeb4eb203788afc251a9faa156d1911a.png)
With an expanded viewing background and transparent buttons:
ApplicationViewTitleBar formattableTitleBar = ApplicationView.GetForCurrentView().TitleBar;
formattableTitleBar.ButtonBackgroundColor = Colors.Transparent;
CoreApplicationViewTitleBar coreTitleBar = CoreApplication.GetCurrentView().TitleBar;
coreTitleBar.ExtendViewIntoTitleBar = true;
![enter image description here](https://fooobar.com/undefined)
source
share