public MainPage() { BingObject bingObject = BingUtils.GetWallpaperFromBing("ES-es"); this.InitializeComponent(); var coreTitleBar = CoreApplication.GetCurrentView().TitleBar; Window.Current.SetTitleBar(AppTitle); coreTitleBar.ExtendViewIntoTitleBar = true; //remove the solid-colored backgrounds behind the caption controls and system back button var viewTitleBar = ApplicationView.GetForCurrentView().TitleBar; viewTitleBar.ButtonBackgroundColor = Colors.Transparent; viewTitleBar.ButtonInactiveBackgroundColor = Colors.Transparent; viewTitleBar.ButtonForegroundColor = (Color)Resources["SystemBaseHighColor"]; UpdateAppTitle(); Window.Current.CoreWindow.SizeChanged += (s, e) => UpdateAppTitle(); coreTitleBar.LayoutMetricsChanged += (s, e) => UpdateAppTitle(); ContentFrame.Navigate(typeof(BingPage)); }