Esempio n. 1
0
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            await TitleBarHelper.ResetToDefaultsAsync();

            var titleBarColor = (App.Current.Resources["SystemControlBackgroundChromeMediumBrush"] as SolidColorBrush).Color;

            TitleBarHelper.SetBackgroundColor(titleBarColor);
            TitleBarHelper.SetButtonBackgroundColor(titleBarColor);

            Messenger.Default.Register <CompleteMultipleSelectionMessage>(this, message => DisableMultipleSelection());
        }