In Windows 10 by default the white title bars is available for all apps, sometimes we need to change for better UI. Using UI ViewManagement class we can get the application UI properties. So, I am going to get the title bar properties and change the colour using the following code.
- var appView = Windows.UI.ViewManagement.ApplicationView.GetForCurrentView();
- appView.TitleBar.BackgroundColor = Colors.LightBlue;
- appView.TitleBar.ButtonBackgroundColor = Colors.LightBlue;
- appView.TitleBar.ForegroundColor = Colors.White;
- appView.TitleBar.ButtonForegroundColor = Colors.White;
Full code looks like the following code:

Now run the app and see the title bar it looks like the following image,

Enable back button in the app title bar Windows 10 UWP
In Windows 10 UWP the back button is disabled by default. If you need back button in the application title bar you need to enable it. I will show how to enable this button.
Write the followingcode to enable the back button.
- var view = SystemNavigationManager.GetForCurrentView();
- view.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible;
Now create event handler for handling the back button click.
- view.BackRequested += View_BackRequested;
- private void View_BackRequested(object sender, BackRequestedEventArgs e)
- {
- //do your task
- }
- var view = SystemNavigationManager.GetForCurrentView();
- view.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible;
- view.BackRequested += View_BackRequested;
- private void View_BackRequested(object sender, BackRequestedEventArgs e)
- {
- //do your task
- }


Suresh MPosted Dec 1, 2015, 1:37 AM
Thank you
Santhakumar MunuswamyPosted Dec 1, 2015, 1:31 AM
Nice share
Humayun Kabir MamunPosted Dec 1, 2015, 1:17 AM
Nice...
Banketeshvar NarayanPosted Nov 30, 2015, 1:56 PM
Nice
Mohammed IbrahimPosted Nov 30, 2015, 1:38 PM
nice
Mukesh KumarPosted Nov 30, 2015, 6:45 AM
Good Job Sir
Raja TPosted Nov 30, 2015, 6:42 AM
Nice, Thanks for sharing