fipcurren88
fipcurren88

Reputation: 701

How to Change Background color App Back Button - Windows 10 - C#

How to change the background color of Back button in native Windows 10 apps?

This is what it currently looks like:

button

Upvotes: 0

Views: 866

Answers (1)

titech
titech

Reputation: 197

You can achive it in the code behind like this:

public MainPage()
    {
        this.InitializeComponent();              

        var appView = ApplicationView.GetForCurrentView();
        appView.TitleBar.ButtonBackgroundColor = Colors.LightGreen;
    }

Hope it works for you

Regards Ilija

Upvotes: 5

Related Questions