UWP transparent title bar, keep showing the minimize, maximize and close button on top right

OnLaunched in App.xaml.cs

ApplicationViewTitleBar formattableTitleBar = ApplicationView.GetForCurrentView().TitleBar;
formattableTitleBar.ButtonBackgroundColor = Colors.Transparent;
CoreApplicationViewTitleBar coreTitleBar = CoreApplication.GetCurrentView().TitleBar;
coreTitleBar.ExtendViewIntoTitleBar = true;

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top