diff options
Diffstat (limited to 'EventMaker/EventMaker/App.xaml.cs')
-rw-r--r-- | EventMaker/EventMaker/App.xaml.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/EventMaker/EventMaker/App.xaml.cs b/EventMaker/EventMaker/App.xaml.cs index 70e9070..9dbb3d6 100644 --- a/EventMaker/EventMaker/App.xaml.cs +++ b/EventMaker/EventMaker/App.xaml.cs @@ -1,7 +1,9 @@ using System; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; +using Windows.UI; using Windows.UI.Core; +using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; @@ -35,6 +37,13 @@ namespace EventMaker { DebugSettings.EnableFrameRateCounter = true; } + + ApplicationViewTitleBar titleBar = ApplicationView.GetForCurrentView().TitleBar; + if (titleBar != null) + { + titleBar.BackgroundColor = Color.FromArgb(255,16,110,190); + titleBar.ButtonBackgroundColor = Color.FromArgb(255, 16, 110, 190); + } #endif Frame rootFrame = Window.Current.Content as Frame; |