Search code examples
c#win-universal-appwindows-10-mobile

WP white icons in taskbar


I'm quite new to windows universal app, I started to design my first app few days ago and I have problem setting white icons in task bar. It was easy in windows 8.1 but here no matter what I set for theme, battery, clock...always dark. Does anyone know how to change color?

Thanks

How app look now


Solution

  • Use

    var statusBar = StatusBar.GetForCurrentView();
    

    Then set the ForegroundColor.

    statusBar.ForegroundColor = Colors.White;
    

    Sadly, it can no longer be done from Xaml without additional code.