Пример #1
0
        private void HideAllPages()
        {
            //Save settings, if settings is closed
            if (settingsPage.Visibility == Visibility.Visible)
            {
                viewModel.SaveSettings();
            }

            foreach (Frame frame in subPages)
            {
                frame.Visibility = Visibility.Hidden;
            }
        }