Hello,
Welcome to Microsoft Q&A!
You could customize the titlebar in UWP apps include the color for System caption buttons. What you need to do is just get the ApplicationView.GetForCurrentView().TitleBar
object first and change some of the background properties.
Here is the sample code that you could refer to:
public MainPage()
{
this.InitializeComponent();
var titleBar = ApplicationView.GetForCurrentView().TitleBar;
titleBar.ButtonBackgroundColor = Colors.Yellow;
titleBar.ButtonHoverBackgroundColor = Colors.Red;
titleBar.ButtonPressedBackgroundColor = Colors.Blue;
titleBar.ButtonInactiveBackgroundColor = Colors.Gray;
}
You could get more information here: Title bar customization
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our [documentation][2] to enable e-mail notifications if you want to receive the related email notification for this thread.