From e91449b4f24de16d2b44ed9a8cf08a5ee0751f3a Mon Sep 17 00:00:00 2001 From: Mike Battista <13860912+mikebattista@users.noreply.github.com> Date: Mon, 13 Jun 2022 14:55:23 -0700 Subject: [PATCH] Removed stale samples. --- .../MixedNavigationSample.CodeBehind.sln | 40 --- .../.editorconfig | 11 - .../Activation/ActivationHandler.cs | 34 --- .../DefaultLaunchActivationHandler.cs | 35 --- .../MixedNavigationSample.CodeBehind/App.xaml | 14 - .../App.xaml.cs | 66 ----- .../Assets/LockScreenLogo.scale-200.png | Bin 1430 -> 0 bytes .../Assets/SplashScreen.scale-200.png | Bin 7700 -> 0 bytes .../Assets/Square150x150Logo.scale-200.png | Bin 2937 -> 0 bytes .../Assets/Square44x44Logo.scale-200.png | Bin 1647 -> 0 bytes ...x44Logo.targetsize-24_altform-unplated.png | Bin 1255 -> 0 bytes .../Assets/StoreLogo.png | Bin 1451 -> 0 bytes .../Assets/Wide310x150Logo.scale-200.png | Bin 3204 -> 0 bytes .../Helpers/EnumToBooleanConverter.cs | 38 --- .../Helpers/Json.cs | 26 -- .../Helpers/ResourceExtensions.cs | 17 -- .../Helpers/SettingsStorageExtensions.cs | 115 -------- .../Helpers/Singleton.cs | 19 -- .../MixedNavigationSample.CodeBehind.csproj | 252 ---------------- .../Package.appxmanifest | 58 ---- .../Properties/AssemblyInfo.cs | 30 -- .../Properties/Default.rd.xml | 31 -- .../Services/ActivationService.cs | 116 -------- .../Services/NavigationService.cs | 86 ------ .../Services/ThemeSelectorService.cs | 68 ----- .../Strings/en-us/Resources.resw | 186 ------------ .../Styles/TextBlock.xaml | 44 --- .../Styles/_Colors.xaml | 5 - .../Styles/_FontSizes.xaml | 8 - .../Styles/_Thickness.xaml | 15 - .../Views/HomePage.xaml | 48 ---- .../Views/HomePage.xaml.cs | 31 -- .../Views/SettingsPage.xaml | 102 ------- .../Views/SettingsPage.xaml.cs | 86 ------ .../Views/ShellNavigationItem.cs | 157 ---------- .../Views/ShellPage.xaml | 131 --------- .../Views/ShellPage.xaml.cs | 192 ------------- .../Views/StartPage.xaml | 48 ---- .../Views/StartPage.xaml.cs | 41 --- .../MixedNavigationSample.MVVMBasic.sln | 40 --- .../.editorconfig | 11 - .../Activation/ActivationHandler.cs | 34 --- .../DefaultLaunchActivationHandler.cs | 35 --- .../MixedNavigationSample.MVVMBasic/App.xaml | 14 - .../App.xaml.cs | 66 ----- .../Assets/LockScreenLogo.scale-200.png | Bin 1430 -> 0 bytes .../Assets/SplashScreen.scale-200.png | Bin 7700 -> 0 bytes .../Assets/Square150x150Logo.scale-200.png | Bin 2937 -> 0 bytes .../Assets/Square44x44Logo.scale-200.png | Bin 1647 -> 0 bytes ...x44Logo.targetsize-24_altform-unplated.png | Bin 1255 -> 0 bytes .../Assets/StoreLogo.png | Bin 1451 -> 0 bytes .../Assets/Wide310x150Logo.scale-200.png | Bin 3204 -> 0 bytes .../Helpers/EnumToBooleanConverter.cs | 38 --- .../Helpers/Json.cs | 26 -- .../Helpers/Observable.cs | 24 -- .../Helpers/RelayCommand.cs | 57 ---- .../Helpers/ResourceExtensions.cs | 17 -- .../Helpers/SettingsStorageExtensions.cs | 115 -------- .../Helpers/Singleton.cs | 19 -- .../MixedNavigationSample.MVVMBasic.csproj | 270 ------------------ .../Package.appxmanifest | 58 ---- .../Properties/AssemblyInfo.cs | 30 -- .../Properties/Default.rd.xml | 31 -- .../Services/ActivationService.cs | 116 -------- .../Services/NavigationService.cs | 86 ------ .../Services/ThemeSelectorService.cs | 68 ----- .../Strings/en-us/Resources.resw | 186 ------------ .../Styles/TextBlock.xaml | 44 --- .../Styles/_Colors.xaml | 5 - .../Styles/_FontSizes.xaml | 8 - .../Styles/_Thickness.xaml | 15 - .../ViewModels/HomeViewModel.cs | 13 - .../ViewModels/SettingsViewModel.cs | 70 ----- .../ViewModels/ShellNavigationItem.cs | 142 --------- .../ViewModels/ShellViewModel.cs | 208 -------------- .../ViewModels/StartViewModel.cs | 25 -- .../Views/HomePage.xaml | 47 --- .../Views/HomePage.xaml.cs | 18 -- .../Views/SettingsPage.xaml | 103 ------- .../Views/SettingsPage.xaml.cs | 26 -- .../Views/ShellPage.xaml | 143 ---------- .../Views/ShellPage.xaml.cs | 20 -- .../Views/StartPage.xaml | 47 --- .../Views/StartPage.xaml.cs | 18 -- .../MixedNavigationSample.MVVMLight.sln | 40 --- .../.editorconfig | 11 - .../Activation/ActivationHandler.cs | 34 --- .../DefaultLaunchActivationHandler.cs | 43 --- .../MixedNavigationSample.MVVMLight/App.xaml | 16 -- .../App.xaml.cs | 66 ----- .../Assets/LockScreenLogo.scale-200.png | Bin 1430 -> 0 bytes .../Assets/SplashScreen.scale-200.png | Bin 7700 -> 0 bytes .../Assets/Square150x150Logo.scale-200.png | Bin 2937 -> 0 bytes .../Assets/Square44x44Logo.scale-200.png | Bin 1647 -> 0 bytes ...x44Logo.targetsize-24_altform-unplated.png | Bin 1255 -> 0 bytes .../Assets/StoreLogo.png | Bin 1451 -> 0 bytes .../Assets/Wide310x150Logo.scale-200.png | Bin 3204 -> 0 bytes .../Helpers/EnumToBooleanConverter.cs | 38 --- .../Helpers/Json.cs | 26 -- .../Helpers/ResourceExtensions.cs | 17 -- .../Helpers/SettingsStorageExtensions.cs | 115 -------- .../Helpers/Singleton.cs | 19 -- .../MixedNavigationSample.MVVMLight.csproj | 270 ------------------ .../Package.appxmanifest | 58 ---- .../Properties/AssemblyInfo.cs | 30 -- .../Properties/Default.rd.xml | 31 -- .../Services/ActivationService.cs | 120 -------- .../Services/NavigationServiceEx.cs | 120 -------- .../Services/ThemeSelectorService.cs | 68 ----- .../Strings/en-us/Resources.resw | 186 ------------ .../Styles/TextBlock.xaml | 44 --- .../Styles/_Colors.xaml | 5 - .../Styles/_FontSizes.xaml | 8 - .../Styles/_Thickness.xaml | 15 - .../ViewModels/HomeViewModel.cs | 13 - .../ViewModels/SettingsViewModel.cs | 72 ----- .../ViewModels/ShellNavigationItem.cs | 131 --------- .../ViewModels/ShellViewModel.cs | 225 --------------- .../ViewModels/StartViewModel.cs | 33 --- .../ViewModels/ViewModelLocator.cs | 43 --- .../Views/HomePage.xaml | 48 ---- .../Views/HomePage.xaml.cs | 21 -- .../Views/SettingsPage.xaml | 104 ------- .../Views/SettingsPage.xaml.cs | 29 -- .../Views/ShellPage.xaml | 144 ---------- .../Views/ShellPage.xaml.cs | 25 -- .../Views/StartPage.xaml | 48 ---- .../Views/StartPage.xaml.cs | 21 -- .../ToastNotificationSample.sln | 40 --- .../ToastNotificationSample/.editorconfig | 11 - .../Activation/ActivationHandler.cs | 34 --- .../DefaultLaunchActivationHandler.cs | 38 --- .../ToastNotificationSample/App.xaml | 18 -- .../ToastNotificationSample/App.xaml.cs | 45 --- .../Assets/LockScreenLogo.scale-200.png | Bin 1430 -> 0 bytes .../Assets/SplashScreen.scale-200.png | Bin 7700 -> 0 bytes .../Assets/Square150x150Logo.scale-200.png | Bin 2937 -> 0 bytes .../Assets/Square44x44Logo.scale-200.png | Bin 1647 -> 0 bytes ...x44Logo.targetsize-24_altform-unplated.png | Bin 1255 -> 0 bytes .../Assets/StoreLogo.png | Bin 1451 -> 0 bytes .../Assets/Wide310x150Logo.scale-200.png | Bin 3204 -> 0 bytes .../Helpers/Observable.cs | 24 -- .../Helpers/RelayCommand.cs | 57 ---- .../Helpers/ResourceExtensions.cs | 17 -- .../Helpers/Singleton.cs | 19 -- .../Package.appxmanifest | 58 ---- .../Properties/AssemblyInfo.cs | 30 -- .../Properties/Default.rd.xml | 31 -- .../Services/ActivationService.cs | 116 -------- .../Services/NavigationService.cs | 86 ------ .../ToastNotificationsService.Samples.cs | 65 ----- .../Services/ToastNotificationsService.cs | 24 -- .../Strings/en-us/Resources.resw | 134 --------- .../Styles/TextBlock.xaml | 22 -- .../Styles/_Colors.xaml | 5 - .../Styles/_FontSizes.xaml | 8 - .../Styles/_Thickness.xaml | 16 -- .../ToastNotificationSample.csproj | 230 --------------- .../ViewModels/ActivatedFromToastViewModel.cs | 37 --- .../ViewModels/MainViewModel.cs | 13 - .../Views/ActivatedFromToastPage.xaml | 26 -- .../Views/ActivatedFromToastPage.xaml.cs | 25 -- .../Views/MainPage.xaml | 29 -- .../Views/MainPage.xaml.cs | 18 -- 164 files changed, 8056 deletions(-) delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind.sln delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/.editorconfig delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Activation/ActivationHandler.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Activation/DefaultLaunchActivationHandler.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/App.xaml delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/App.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/LockScreenLogo.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/SplashScreen.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/Square150x150Logo.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/Square44x44Logo.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/Square44x44Logo.targetsize-24_altform-unplated.png delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/StoreLogo.png delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/Wide310x150Logo.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/EnumToBooleanConverter.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/Json.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/ResourceExtensions.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/SettingsStorageExtensions.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/Singleton.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind.csproj delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Package.appxmanifest delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Properties/AssemblyInfo.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Properties/Default.rd.xml delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Services/ActivationService.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Services/NavigationService.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Services/ThemeSelectorService.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Strings/en-us/Resources.resw delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/TextBlock.xaml delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/_Colors.xaml delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/_FontSizes.xaml delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/_Thickness.xaml delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/HomePage.xaml delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/HomePage.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/SettingsPage.xaml delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/SettingsPage.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/ShellNavigationItem.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/ShellPage.xaml delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/ShellPage.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/StartPage.xaml delete mode 100644 samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/StartPage.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic.sln delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/.editorconfig delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Activation/ActivationHandler.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Activation/DefaultLaunchActivationHandler.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/App.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/App.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Assets/LockScreenLogo.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Assets/SplashScreen.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Assets/Square150x150Logo.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Assets/Square44x44Logo.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Assets/Square44x44Logo.targetsize-24_altform-unplated.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Assets/StoreLogo.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Assets/Wide310x150Logo.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Helpers/EnumToBooleanConverter.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Helpers/Json.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Helpers/Observable.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Helpers/RelayCommand.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Helpers/ResourceExtensions.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Helpers/SettingsStorageExtensions.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Helpers/Singleton.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic.csproj delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Package.appxmanifest delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Properties/AssemblyInfo.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Properties/Default.rd.xml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Services/ActivationService.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Services/NavigationService.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Services/ThemeSelectorService.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Strings/en-us/Resources.resw delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Styles/TextBlock.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Styles/_Colors.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Styles/_FontSizes.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Styles/_Thickness.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/ViewModels/HomeViewModel.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/ViewModels/SettingsViewModel.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/ViewModels/ShellNavigationItem.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/ViewModels/ShellViewModel.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/ViewModels/StartViewModel.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Views/HomePage.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Views/HomePage.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Views/SettingsPage.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Views/SettingsPage.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Views/ShellPage.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Views/ShellPage.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Views/StartPage.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMBasic/MixedNavigationSample.MVVMBasic/Views/StartPage.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight.sln delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/.editorconfig delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Activation/ActivationHandler.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Activation/DefaultLaunchActivationHandler.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/App.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/App.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Assets/LockScreenLogo.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Assets/SplashScreen.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Assets/Square150x150Logo.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Assets/Square44x44Logo.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Assets/Square44x44Logo.targetsize-24_altform-unplated.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Assets/StoreLogo.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Assets/Wide310x150Logo.scale-200.png delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Helpers/EnumToBooleanConverter.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Helpers/Json.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Helpers/ResourceExtensions.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Helpers/SettingsStorageExtensions.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Helpers/Singleton.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight.csproj delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Package.appxmanifest delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Properties/AssemblyInfo.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Properties/Default.rd.xml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Services/ActivationService.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Services/NavigationServiceEx.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Services/ThemeSelectorService.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Strings/en-us/Resources.resw delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Styles/TextBlock.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Styles/_Colors.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Styles/_FontSizes.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Styles/_Thickness.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/ViewModels/HomeViewModel.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/ViewModels/SettingsViewModel.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/ViewModels/ShellNavigationItem.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/ViewModels/ShellViewModel.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/ViewModels/StartViewModel.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/ViewModels/ViewModelLocator.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Views/HomePage.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Views/HomePage.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Views/SettingsPage.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Views/SettingsPage.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Views/ShellPage.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Views/ShellPage.xaml.cs delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Views/StartPage.xaml delete mode 100644 samples/navigation/MixedNavigationSample.MVVMLight/MixedNavigationSample.MVVMLight/Views/StartPage.xaml.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample.sln delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/.editorconfig delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Activation/ActivationHandler.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Activation/DefaultLaunchActivationHandler.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/App.xaml delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/App.xaml.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Assets/LockScreenLogo.scale-200.png delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Assets/SplashScreen.scale-200.png delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Assets/Square150x150Logo.scale-200.png delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Assets/Square44x44Logo.scale-200.png delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Assets/Square44x44Logo.targetsize-24_altform-unplated.png delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Assets/StoreLogo.png delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Assets/Wide310x150Logo.scale-200.png delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Helpers/Observable.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Helpers/RelayCommand.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Helpers/ResourceExtensions.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Helpers/Singleton.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Package.appxmanifest delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Properties/AssemblyInfo.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Properties/Default.rd.xml delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Services/ActivationService.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Services/NavigationService.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Services/ToastNotificationsService.Samples.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Services/ToastNotificationsService.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Strings/en-us/Resources.resw delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Styles/TextBlock.xaml delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Styles/_Colors.xaml delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Styles/_FontSizes.xaml delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Styles/_Thickness.xaml delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/ToastNotificationSample.csproj delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/ViewModels/ActivatedFromToastViewModel.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/ViewModels/MainViewModel.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Views/ActivatedFromToastPage.xaml delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Views/ActivatedFromToastPage.xaml.cs delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Views/MainPage.xaml delete mode 100644 samples/notifications/ToastNotificationSample/ToastNotificationSample/Views/MainPage.xaml.cs diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind.sln b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind.sln deleted file mode 100644 index def2499a3..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind.sln +++ /dev/null @@ -1,40 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26206.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MixedNavigationSample.CodeBehind", "MixedNavigationSample.CodeBehind\MixedNavigationSample.CodeBehind.csproj", "{B1444D8C-D360-4739-8D85-84848BD08F7A}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|ARM = Debug|ARM - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|ARM = Release|ARM - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution {B1444D8C-D360-4739-8D85-84848BD08F7A}.Debug|ARM.ActiveCfg = Debug|ARM - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Debug|ARM.Build.0 = Debug|ARM - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Debug|ARM.Deploy.0 = Debug|ARM - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Debug|x64.ActiveCfg = Debug|x64 - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Debug|x64.Build.0 = Debug|x64 - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Debug|x64.Deploy.0 = Debug|x64 - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Debug|x86.ActiveCfg = Debug|x86 - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Debug|x86.Build.0 = Debug|x86 - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Debug|x86.Deploy.0 = Debug|x86 - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Release|ARM.ActiveCfg = Release|ARM - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Release|ARM.Build.0 = Release|ARM - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Release|ARM.Deploy.0 = Release|ARM - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Release|x64.ActiveCfg = Release|x64 - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Release|x64.Build.0 = Release|x64 - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Release|x64.Deploy.0 = Release|x64 - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Release|x86.ActiveCfg = Release|x86 - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Release|x86.Build.0 = Release|x86 - {B1444D8C-D360-4739-8D85-84848BD08F7A}.Release|x86.Deploy.0 = Release|x86 - - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/.editorconfig b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/.editorconfig deleted file mode 100644 index a681f2b9e..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/.editorconfig +++ /dev/null @@ -1,11 +0,0 @@ -# top-most EditorConfig file -root = true - -[*] -end_of_line = crlf - -[*.{cs,xaml}] -indent_style = space -indent_size = 4 -trim_trailing_whitespace = true -insert_final_newline = true diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Activation/ActivationHandler.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Activation/ActivationHandler.cs deleted file mode 100644 index 0de1d07d4..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Activation/ActivationHandler.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Threading.Tasks; - -namespace MixedNavigationSample.CodeBehind.Activation -{ - // For more information on application activation see https://github.com/microsoft/TemplateStudio/blob/main/docs/UWP/activation.md - internal abstract class ActivationHandler - { - public abstract bool CanHandle(object args); - - public abstract Task HandleAsync(object args); - } - - internal abstract class ActivationHandler : ActivationHandler - where T : class - { - protected abstract Task HandleInternalAsync(T args); - - public override async Task HandleAsync(object args) - { - await HandleInternalAsync(args as T); - } - - public override bool CanHandle(object args) - { - return args is T && CanHandleInternal(args as T); - } - - protected virtual bool CanHandleInternal(T args) - { - return true; - } - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Activation/DefaultLaunchActivationHandler.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Activation/DefaultLaunchActivationHandler.cs deleted file mode 100644 index eea77066c..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Activation/DefaultLaunchActivationHandler.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Threading.Tasks; - -using MixedNavigationSample.CodeBehind.Services; - -using Windows.ApplicationModel.Activation; - -namespace MixedNavigationSample.CodeBehind.Activation -{ - internal class DefaultLaunchActivationHandler : ActivationHandler - { - private readonly Type _navElement; - - public DefaultLaunchActivationHandler(Type navElement) - { - _navElement = navElement; - } - - protected override async Task HandleInternalAsync(LaunchActivatedEventArgs args) - { - // When the navigation stack isn't restored navigate to the first page, - // configuring the new page by passing required information as a navigation - // parameter - NavigationService.Navigate(_navElement, args.Arguments); - - await Task.CompletedTask; - } - - protected override bool CanHandleInternal(LaunchActivatedEventArgs args) - { - // None of the ActivationHandlers has handled the app activation - return NavigationService.Frame.Content == null; - } - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/App.xaml b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/App.xaml deleted file mode 100644 index adaf1d64c..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/App.xaml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/App.xaml.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/App.xaml.cs deleted file mode 100644 index c258c58df..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/App.xaml.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; - -using MixedNavigationSample.CodeBehind.Services; - -using Windows.ApplicationModel.Activation; -using Windows.UI.Xaml; - -namespace MixedNavigationSample.CodeBehind -{ - /// - /// Provides application-specific behavior to supplement the default Application class. - /// - public sealed partial class App : Application - { - private Lazy _activationService; - - private ActivationService ActivationService - { - get { return _activationService.Value; } - } - - /// - /// Initializes a new instance of the class. - /// This is the first line of authored code executed, and as such - /// is the logical equivalent of main() or WinMain(). - /// - public App() - { - InitializeComponent(); - - // Deferred execution until used. Check https://msdn.microsoft.com/library/dd642331(v=vs.110).aspx for further info on Lazy class. - _activationService = new Lazy(CreateActivationService); - } - - /// - /// Invoked when the application is launched normally by the end user. Other entry points - /// will be used such as when the application is launched to open a specific file. - /// - /// Details about the launch request and process. - protected override async void OnLaunched(LaunchActivatedEventArgs e) - { - if (!e.PrelaunchActivated) - { - await ActivationService.ActivateAsync(e); - } - } - - /// - /// Invoked when the application is activated by some means other than normal launching. - /// - /// Event data for the event. - protected override async void OnActivated(IActivatedEventArgs args) - { - await ActivationService.ActivateAsync(args); - } - - private ActivationService CreateActivationService() - { - //This is the default navigation for a NavigationPane project type - //return new ActivationService(this, typeof(Views.HomePage), new Views.ShellPage()); - - //We are going to initialize navigation to a StartPage - return new ActivationService(this, typeof(Views.StartPage)); - } - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/LockScreenLogo.scale-200.png b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/LockScreenLogo.scale-200.png deleted file mode 100644 index 735f57adb5dfc01886d137b4e493d7e97cf13af3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1430 zcmaJ>TTC2P7~aKltDttVHYH6u8Io4i*}3fO&d$gd*bA_<3j~&e7%8(eXJLfhS!M@! zKrliY>>6yT4+Kr95$!DoD(Qn-5TP|{V_KS`k~E6(LGS@#`v$hQo&^^BKsw3HIsZBT z_y6C2n`lK@apunKojRQ^(_P}Mgewt$(^BBKCTZ;*xa?J3wQ7~@S0lUvbcLeq1Bg4o zH-bvQi|wt~L7q$~a-gDFP!{&TQfc3fX*6=uHv* zT&1&U(-)L%Xp^djI2?~eBF2cxC@YOP$+9d?P&h?lPy-9M2UT9fg5jKm1t$m#iWE{M zIf%q9@;fyT?0UP>tcw-bLkz;s2LlKl2qeP0w zECS7Ate+Awk|KQ+DOk;fl}Xsy4o^CY=pwq%QAAKKl628_yNPsK>?A>%D8fQG6IgdJ ztnxttBz#NI_a@fk7SU`WtrpsfZsNs9^0(2a z@C3#YO3>k~w7?2hipBf{#b6`}Xw1hlG$yi?;1dDs7k~xDAw@jiI*+tc;t2Lflg&bM)0!Y;0_@=w%`LW^8DsYpS#-bLOklX9r?Ei}TScw|4DbpW%+7 zFgAI)f51s}{y-eWb|vrU-Ya!GuYKP)J7z#*V_k^Xo>4!1Yqj*m)x&0L^tg3GJbVAJ zJ-Pl$R=NAabouV=^z_t;^K*0AvFs!vYU>_<|I^#c?>>CR<(T?=%{;U=aI*SbZADLH z&(f2wz_Y0??Tf|g;?|1Znw6}6U43Q#qNRwv1vp9uFn1)V#*4p&%$mP9x&15^OaBiDS(XppT|z^>;B{PLVEbS3IFYV yGvCsSX*m diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/SplashScreen.scale-200.png b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/SplashScreen.scale-200.png deleted file mode 100644 index 023e7f1feda78d5100569825acedfd213a0d84e9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7700 zcmeHLYj~4Yw%(;oxoEH#Kxq-eR|+VkP17b#Vk;?4QwkI+A{L04G+#<<(x#Un1#+h5>eArRq zTw$)ZvTWW_Y?bD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~yM6srvu` diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/Square150x150Logo.scale-200.png b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/Square150x150Logo.scale-200.png deleted file mode 100644 index af49fec1a5484db1d52a7f9b5ec90a27c7030186..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2937 zcma)84OCO-8BSud5)jwMLRVKgX(S?$n?Ld|vrsm<$CF7)&zTbyy1FE5bU`Q17MRv`9ue$;R(@8kR;#vJ*IM0>cJIAOte!d7oRgdH zd%ySjdB6L9=gX^A6)VzH7p2l@v~3zJAMw|DFy#^)F@@F*`mqUn=Il>l)8_+ab;nOW{%+iPx z+s{Eu|&pIs)Z7{La9~?xKfyl z#43?gjEL15d4WbOZo#SiP%>DB^+BcnJ=7dHEe;r#G=tuw|ka z%q@}##Uh7;tc%L_64m(kHtw74ty%BJMb)_1)#S0j`)F8_1jF7vScpsnH=0V19bO8y zR`0SjIdCUo&=>JwMQF8KHA<{ODHTiQh}0^@5QRmCA?gOH6_H3K^-_sNB^RrdNuK-R zOO*vOrKCVvDwgUck`kF(E7j{I#iiN;b*ZdCt4m@HPA`EuEqGGf4%!K<;(=I=&Vyrw z%TwcWtxa}8mCZ%Cyf&ActJ6_$ox5z6-D!0-dvnRx6t7y3d+h6QYpKWO;8OdnvERo7 zuEf>ih5`wqY)~o@OeVt-wM?Q!>QzdGRj!bz6fzYrfw$hZfAKzr2-M+D+R>}~oT574c;_3zquHcElqKIsryILt3g8n3jcMb+j?i?-L3FpZJ z2WRVBRdDPc+G5aaYg#5hpE+6nQ|(VSoxT3|biF;BUq#==-27Xi=gihDPYP$7?=9cP zYKE$jeQ|3~_L0VG-(F~2ZPyD0=k{J4Q~h(t__{-mz_w8{JDY9{`1ouzz!Vr5!ECdE z6U~O1k8c}24V7~zzXWTV-Pe4)y}wQJS&q%H5`Fo_f_JvIU489aCX$;P`u#!I-=^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2{w{1$}Sz4zGn3Du&x bht0Iza^2ykEt4(epJ78uh5nDlX8(TxzDYwP diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/Square44x44Logo.scale-200.png b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/Square44x44Logo.scale-200.png deleted file mode 100644 index ce342a2ec8a61291ba76c54604aea7e9d20af11b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1647 zcmaJ?eM}Q)7(e+G1Q(|`V9JhTI2>MkceK4;p;PR&$Pi?ejk3YQ_3o`S&|W_dsOZ8# zWPTt69g`t$ab`0cj-Y0yiBSOqmd)tG7G(}M5aP0_%&9TijB#&)I{zSE^4@#z^FF`l z`8{8`o%wlL(UI|y2!cdsuVamHH~H86F!*-15em4)NqUpCQM5?aoC_eCf@lV4wvF2a zjDQn1JBL69f&@2M3rvzJcfE!eZ8FZUBlFlC5RD)it33{mF9#B82AiyQE%w)`vlwa> zv{<1sm&kSKK$&%2jSFn7$t&P%%6Ue>R=EAnG8N7fqynWG8L3p!4801a;8{+nliO(qd(jNJ_?+9W3#hLIDLoT6~3fx9=`CC-D}-AMrpEO7HK zt3$GicGPc?GmDjy7K2P@La;eu4!$zWCZ`ym{Z$b zu-O6RM&K4JT|BIZB`E-gxqG%FzanI#+2FFmqHqXG7yxWB=w55RGOM)$xMb(>kSNR z2w=1AZi%z=AmG~yea~XaXJR!v7vLn(RUnELfiB1|6D84ICOS}^Zo2AdN}<&*h}G_u z{xZ!(%>tLT3J3<5XhWy-tg+6)0nmUUENLW8TWA{R6bgVd3X;anYFZ^IRis*_P-C-r z;i>%1^eL3UI2-{w8nuFFcs0e~7J{O2k^~Ce%+Ly4U?|=!0LH=t6()xi<^I-rs+9sF z*q{E-CxZbGPeu#a;XJwE;9S1?#R&uns>^0G3p`hEUF*v`M?@h%T%J%RChmD|EVydq zmHWh*_=S%emRC*mhxaVLzT@>Z2SX0u9v*DIJ@WC^kLVdlGV6LpK$KIrlJqc zpJ921)+3JJdTx|<`G&kXpKkjGJv=76R`yYIQ{#c-`%+`#V(7}Q;&@6U8!Td1`d;?N z_9mnI#?AA}4J!r)LN4!E-@H5eXauuB7TOawS>Y|{-P?NNx-lq+z1W-+y(;39P&&LP zL{N80?&=C*qKmdA^moMZRuPcD!B<*mq$ch=0Cnlitw#txRWhb3%TQvPqjkC`F69G4b! ze7z9MZ#+;_#l?H37UqUhDFb^l&s2{oM$3I0o^Q!yx;;V)QmCMo)Tb_ui|mit8MS?U zm##6$sZZ1$@|s%?l@>4Z<*Q}sRBSKMhb4I{e5LdEhsHIHTe8Bod5c>6QtT>$XgUBz z6MK`kO$=jmt@FqggOhJ5j~e@ygRbG;<{Vu)*+nn9aQeo0;$#j;|MS=S$&L?BeV25z xs3B`@=#`5TF{^6(A1rvdY@|-RtQ|iS5{tyX+wH?;n8E)G$kykv-D^wh{{!TZT%7;_ diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/Square44x44Logo.targetsize-24_altform-unplated.png deleted file mode 100644 index f6c02ce97e0a802b85f6021e822c89f8bf57d5cd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1255 zcmaJ>TWs4@7*5+{G#S+&C!qC#> zf>5N3P6jO*Cz>ug*(_DmW=)kea&m$gZ^+nyiF`;j%w@}y8)>p*SH}C`m?DXeieF2U zyQHecc_L%Gh!7GMt+hG06y;+|p4>m~}PjA}rKViGiEnn7G0ZO<>G|7q;2?NwGCM3s?eued6%hd$B+ z*kQJ{#~$S=DFE(%=E+UkmlEI*%3llUf~8Ja9YU1Vui0IbGBkW_gHB%Rd&!!ioX zs40O?i9I{};kle7GMvE7(rk`la=gTI)47=>%?q@^iL-nUo3}h4S}N-KHn8t5mVP8w z&bSErwp+37 zNJJ8?a|{r5Q3R0Z5s-LB1WHOwYC@7pCHWND#cL1cZ?{kJ368_*(UDWUDyb<}0y@o# zfMF016iMWPCb6obAxT$JlB6(2DrlXDTB&!0`!m??4F(qWMhjVZo?JXQmz`1*58Z=& zcDmB|S-E@j?BoFGix0flckqdS4jsPNzhfWyWIM98GxcLs89C(~dw%$_t;JjX-SD}E zfiGV;{8Q%8r}w9x>EEigW81>`kvnU@pK)4+xk9@+bNj9L!AAZ@SZ@q|)&BmY3+HZx zul~BeG4|}-;L%cHViQGQX?^zFfO0&#cHwel=d`lH9sJ-@Sl@n*(8J2>%Ac`IxyY?Q z{=GhWvC#gu-~Ia7*n{=+;qM?Ul_wy1+u7ho;=`>EwP^g~R@{unBds`!#@}tluZQpS zm)M~nYEifJWJGx?_6DcTy>#uh%>!H9=hb^(v`=m3F1{L>db=<5_tm+_&knAQ2EU$s Mu9UqpbNZeC0BbUo^Z)<= diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/StoreLogo.png b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/StoreLogo.png deleted file mode 100644 index 7385b56c0e4d3c6b0efe3324aa1194157d837826..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1451 zcmaJ>eN5D57_Z|bH;{0+1#mbl)eTU3{h)Wf7EZV?;HD@XL@{B`Ui%(2aMxQ~xdXSv z5nzWi(LW)U2=Vc-cY@s7nPt{i0hc6!7xN4NNHI#EQl>YNBy8l4%x9gr_W-j zEZMQmmTIy(>;lblRfh`dIyTgc9W5d!VP$L4(kKrN1c5G~(O_#xG zAJCNTstD^5SeXFB+&$h=ToJP2H>xr$iqPs-#O*;4(!Fjw25-!gEb*)mU}=)J;Iu>w zxK(5XoD0wrPSKQ~rbL^Cw6O_03*l*}i=ydbu7adJ6y;%@tjFeXIXT+ms30pmbOP%Q zX}S;+LBh8Tea~TSkHzvX6$rYb)+n&{kSbIqh|c7hmlxmwSiq5iVhU#iEQ<>a18|O^Sln-8t&+t`*{qBWo5M?wFM(JuimAOb5!K#D}XbslM@#1ZVz_;!9U zpfEpLAOz=0g@bd6Xj_ILi-x^!M}73h^o@}hM$1jflTs|Yuj9AL@A3<-?MV4!^4q`e z)fO@A;{9K^?W?DbnesnPr6kK>$zaKo&;FhFd(GYFCIU^T+OIMb%Tqo+P%oq(IdX7S zf6+HLO?7o0m+p>~Tp5UrXWh!UH!wZ5kv!E`_w)PTpI(#Iw{AS`gH4^b(bm^ZCq^FZ zY9DD7bH}rq9mg88+KgA$Zp!iWncuU2n1AuIa@=sWvUR-s`Qb{R*kk(SPU^`$6BXz8 zn#7yaFOIK%qGxyi`dYtm#&qqox0$h=pNi#u=M8zUG@bpiZ=3sT=1}Trr}39cC)H|v zbL?W)=&s4zrh)7>L(|cc%$1#!zfL?HjpeP%T+x_a+jZ16b^iKOHxFEX$7d|8${H-* zIrOJ5w&i$>*D>AKaIoYg`;{L@jM((Kt?$N$5OnuPqVvq**Nm}(f0wwOF%iX_Pba;V z;m@wxX&NcV3?<1+u?A{y_DIj7#m3Af1rCE)o`D&Y3}0%7E;iX1yMDiS)sh0wKi!36 zL!Wmq?P^Ku&rK~HJd97KkLTRl>ScGFYZNlYytWnhmuu|)L&ND8_PmkayQb{HOY640 bno1(wj@u8DCVuFR|31B*4ek@pZJqxCDDe1x diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/Wide310x150Logo.scale-200.png b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Assets/Wide310x150Logo.scale-200.png deleted file mode 100644 index 288995b397fdbef1fb7e85afd71445d5de1952c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3204 zcmbVPeQXow8NYmBd90>}0NP?GhXW~VaeThm=a0tV#EwJMI!)6M3}|c4_Bl3=Kd>G0 z(GHx1wl<7(tP?FsOQkTilSo*iIvF%uArExJ73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Jt8C ziNlEC<@3f_lIV4TwV}&e;D!Ee5_|e#g0LUh=5vmYWYm7&2h*M>QPKvGh9-)wfMMW3 z8J9b%1k7dzPzO0_NGQy92BZ^FR6R~6;^6?lqO;-QUP4BY%cG%3vEhbm#>4vIhPBh3 z-+pZGjh$x%Hp{?=FHsMp0&wNPlj00us{&`1ZOZTqs8%4X&xH=UDr*xyBW(Zp&Em94 zf)ZSfn#yg0N)>!1kWdkqJ^S*z0FF5|fj&qcE#Na|%OY0$uO>!&hP+1ywfD_WXk@4J(?MBftK7>$Nvqh@tDuarN%PrTLQ2Uzysx>UV=V zk^RrDSvdQ?0;=hY67EgII-f4`t=+i*yS=Y~!XlqIy_4x&%+OdfbKOFPXS2X5%4R{N z$SQMX^AK6(fA ToObjectAsync(string value) - { - return await Task.Run(() => - { - return JsonConvert.DeserializeObject(value); - }); - } - - public static async Task StringifyAsync(object value) - { - return await Task.Run(() => - { - return JsonConvert.SerializeObject(value); - }); - } - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/ResourceExtensions.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/ResourceExtensions.cs deleted file mode 100644 index 7ecf9ce47..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/ResourceExtensions.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -using Windows.ApplicationModel.Resources; - -namespace MixedNavigationSample.CodeBehind.Helpers -{ - internal static class ResourceExtensions - { - private static ResourceLoader _resLoader = new ResourceLoader(); - - public static string GetLocalized(this string resourceKey) - { - return _resLoader.GetString(resourceKey); - } - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/SettingsStorageExtensions.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/SettingsStorageExtensions.cs deleted file mode 100644 index 174def17c..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/SettingsStorageExtensions.cs +++ /dev/null @@ -1,115 +0,0 @@ -using System; -using System.IO; -using System.Threading.Tasks; - -using Windows.Storage; -using Windows.Storage.Streams; - -namespace MixedNavigationSample.CodeBehind.Helpers -{ - // Use these extension methods to store and retrieve local and roaming app data - // For more info regarding storing and retrieving app data see documentation at - // https://docs.microsoft.com/windows/uwp/app-settings/store-and-retrieve-app-data - public static class SettingsStorageExtensions - { - private const string FileExtension = ".json"; - - public static bool IsRoamingStorageAvailable(this ApplicationData appData) - { - return appData.RoamingStorageQuota == 0; - } - - public static async Task SaveAsync(this StorageFolder folder, string name, T content) - { - var file = await folder.CreateFileAsync(GetFileName(name), CreationCollisionOption.ReplaceExisting); - var fileContent = await Json.StringifyAsync(content); - - await FileIO.WriteTextAsync(file, fileContent); - } - - public static async Task ReadAsync(this StorageFolder folder, string name) - { - if (!File.Exists(Path.Combine(folder.Path, GetFileName(name)))) - { - return default(T); - } - - var file = await folder.GetFileAsync($"{name}.json"); - var fileContent = await FileIO.ReadTextAsync(file); - - return await Json.ToObjectAsync(fileContent); - } - - public static async Task SaveAsync(this ApplicationDataContainer settings, string key, T value) - { - settings.Values[key] = await Json.StringifyAsync(value); - } - - public static async Task ReadAsync(this ApplicationDataContainer settings, string key) - { - object obj = null; - - if (settings.Values.TryGetValue(key, out obj)) - { - return await Json.ToObjectAsync((string)obj); - } - - return default(T); - } - - public static async Task SaveFileAsync(this StorageFolder folder, byte[] content, string fileName, CreationCollisionOption options = CreationCollisionOption.ReplaceExisting) - { - if (content == null) - { - throw new ArgumentNullException("content"); - } - - if (string.IsNullOrEmpty(fileName)) - { - throw new ArgumentException("File name is null or empty. Specify a valid file name", "fileName"); - } - - var storageFile = await folder.CreateFileAsync(fileName, options); - await FileIO.WriteBytesAsync(storageFile, content); - return storageFile; - } - - public static async Task ReadFileAsync(this StorageFolder folder, string fileName) - { - var item = await folder.TryGetItemAsync(fileName).AsTask().ConfigureAwait(false); - - if ((item != null) && item.IsOfType(StorageItemTypes.File)) - { - var storageFile = await folder.GetFileAsync(fileName); - byte[] content = await storageFile.ReadBytesAsync(); - return content; - } - - return null; - } - - public static async Task ReadBytesAsync(this StorageFile file) - { - if (file != null) - { - using (IRandomAccessStream stream = await file.OpenReadAsync()) - { - using (var reader = new DataReader(stream.GetInputStreamAt(0))) - { - await reader.LoadAsync((uint)stream.Size); - var bytes = new byte[stream.Size]; - reader.ReadBytes(bytes); - return bytes; - } - } - } - - return null; - } - - private static string GetFileName(string name) - { - return string.Concat(name, FileExtension); - } - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/Singleton.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/Singleton.cs deleted file mode 100644 index 84aa1f113..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Helpers/Singleton.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Concurrent; - -namespace MixedNavigationSample.CodeBehind.Helpers -{ - internal static class Singleton - where T : new() - { - private static ConcurrentDictionary _instances = new ConcurrentDictionary(); - - public static T Instance - { - get - { - return _instances.GetOrAdd(typeof(T), (t) => new T()); - } - } - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind.csproj b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind.csproj deleted file mode 100644 index 48feefbbd..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind.csproj +++ /dev/null @@ -1,252 +0,0 @@ - - - - - Debug - x86 - {B1444D8C-D360-4739-8D85-84848BD08F7A} - AppContainerExe - Properties - MixedNavigationSample.CodeBehind - MixedNavigationSample.CodeBehind - en-US - UAP - 10.0.16299.0 - 10.0.15063.0 - 14 - 512 - {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - true - MixedNavigationSample.CodeBehind_TemporaryKey.pfx - - - true - bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - NU1603;2008; - full - x86 - false - prompt - true - - - bin\x86\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP - true - NU1603;2008; - pdbonly - x86 - false - prompt - true - true - - - true - bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - NU1603;2008; - full - ARM - false - prompt - true - - - bin\ARM\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP - true - NU1603;2008; - pdbonly - ARM - false - prompt - true - true - - - true - bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - NU1603;2008; - full - x64 - false - prompt - true - - - bin\x64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP - true - NU1603;2008; - pdbonly - x64 - false - prompt - true - true - - - PackageReference - - - - 6.0.1 - - - 2.0.0 - - - - 2.0.0 - - - 10.0.3 - - - - - - - - - - - - - App.xaml - - - - - - Designer - MSBuild:Compile - PreserveNewest - - - Designer - MSBuild:Compile - PreserveNewest - - - Designer - MSBuild:Compile - PreserveNewest - - - Designer - MSBuild:Compile - PreserveNewest - - - - - Designer - - - - - - - - - - - - - - - - - - - - - - - - - MSBuild:Compile - Designer - - - - - - - - MSBuild:Compile - Designer - - - - - HomePage.xaml - - - - - MSBuild:Compile - Designer - - - - - StartPage.xaml - - - - - - - - MSBuild:Compile - Designer - - - - - SettingsPage.xaml - - - - - - - - - - - - - - - - - - - - MSBuild:Compile - Designer - - - - - ShellPage.xaml - - - - 14.0 - - - - \ No newline at end of file diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Package.appxmanifest b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Package.appxmanifest deleted file mode 100644 index a198c39fa..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Package.appxmanifest +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - MixedNavigationSample.CodeBehind - mvega - Assets\StoreLogo.png - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Properties/AssemblyInfo.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Properties/AssemblyInfo.cs deleted file mode 100644 index a2a7d5b64..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("MixedNavigationSample.CodeBehind")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("MixedNavigationSample.CodeBehind")] -[assembly: AssemblyCopyright("Copyright © 2017")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: ComVisible(false)] diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Properties/Default.rd.xml b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Properties/Default.rd.xml deleted file mode 100644 index 494ad42a4..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Properties/Default.rd.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Services/ActivationService.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Services/ActivationService.cs deleted file mode 100644 index e04b352d9..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Services/ActivationService.cs +++ /dev/null @@ -1,116 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -using MixedNavigationSample.CodeBehind.Activation; - -using Windows.ApplicationModel.Activation; -using Windows.UI.Core; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Navigation; - -namespace MixedNavigationSample.CodeBehind.Services -{ - // For more information on application activation see https://github.com/microsoft/TemplateStudio/blob/main/docs/UWP/activation.md - internal class ActivationService - { - private readonly App _app; - private readonly UIElement _shell; - private readonly Type _defaultNavItem; - - public ActivationService(App app, Type defaultNavItem, UIElement shell = null) - { - _app = app; - _shell = shell ?? new Frame(); - _defaultNavItem = defaultNavItem; - } - - public async Task ActivateAsync(object activationArgs) - { - if (IsInteractive(activationArgs)) - { - // Initialize things like registering background task before the app is loaded - await InitializeAsync(); - - // Do not repeat app initialization when the Window already has content, - // just ensure that the window is active - if (Window.Current.Content == null) - { - // Create a Frame to act as the navigation context and navigate to the first page - Window.Current.Content = _shell; - NavigationService.NavigationFailed += (sender, e) => - { - throw new Exception("Failed to load Page " + e.SourcePageType.FullName); - }; - NavigationService.Navigated += Frame_Navigated; - if (SystemNavigationManager.GetForCurrentView() != null) - { - SystemNavigationManager.GetForCurrentView().BackRequested += ActivationService_BackRequested; - } - } - } - - var activationHandler = GetActivationHandlers() - .FirstOrDefault(h => h.CanHandle(activationArgs)); - - if (activationHandler != null) - { - await activationHandler.HandleAsync(activationArgs); - } - - if (IsInteractive(activationArgs)) - { - var defaultHandler = new DefaultLaunchActivationHandler(_defaultNavItem); - if (defaultHandler.CanHandle(activationArgs)) - { - await defaultHandler.HandleAsync(activationArgs); - } - - // Ensure the current window is active - Window.Current.Activate(); - - // Tasks after activation - await StartupAsync(); - } - } - - private async Task InitializeAsync() - { - await ThemeSelectorService.InitializeAsync(); - await Task.CompletedTask; - } - - private async Task StartupAsync() - { - ThemeSelectorService.SetRequestedTheme(); - await Task.CompletedTask; - } - - private IEnumerable GetActivationHandlers() - { - yield break; - } - - private bool IsInteractive(object args) - { - return args is IActivatedEventArgs; - } - - private void Frame_Navigated(object sender, NavigationEventArgs e) - { - SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = NavigationService.CanGoBack ? - AppViewBackButtonVisibility.Visible : AppViewBackButtonVisibility.Collapsed; - } - - private void ActivationService_BackRequested(object sender, BackRequestedEventArgs e) - { - if (NavigationService.CanGoBack) - { - NavigationService.GoBack(); - e.Handled = true; - } - } - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Services/NavigationService.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Services/NavigationService.cs deleted file mode 100644 index 4e97bc42c..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Services/NavigationService.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; - -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Media.Animation; -using Windows.UI.Xaml.Navigation; - -namespace MixedNavigationSample.CodeBehind.Services -{ - public static class NavigationService - { - public static event NavigatedEventHandler Navigated; - - public static event NavigationFailedEventHandler NavigationFailed; - - private static Frame _frame; - - public static Frame Frame - { - get - { - if (_frame == null) - { - _frame = Window.Current.Content as Frame; - RegisterFrameEvents(); - } - - return _frame; - } - - set - { - UnregisterFrameEvents(); - _frame = value; - RegisterFrameEvents(); - } - } - - public static bool CanGoBack => Frame.CanGoBack; - - public static bool CanGoForward => Frame.CanGoForward; - - public static void GoBack() => Frame.GoBack(); - - public static void GoForward() => Frame.GoForward(); - - public static bool Navigate(Type pageType, object parameter = null, NavigationTransitionInfo infoOverride = null) - { - // Don't open the same page multiple times - if (Frame.Content?.GetType() != pageType) - { - return Frame.Navigate(pageType, parameter, infoOverride); - } - else - { - return false; - } - } - - public static bool Navigate(object parameter = null, NavigationTransitionInfo infoOverride = null) - where T : Page - => Navigate(typeof(T), parameter, infoOverride); - - private static void RegisterFrameEvents() - { - if (_frame != null) - { - _frame.Navigated += Frame_Navigated; - _frame.NavigationFailed += Frame_NavigationFailed; - } - } - - private static void UnregisterFrameEvents() - { - if (_frame != null) - { - _frame.Navigated -= Frame_Navigated; - _frame.NavigationFailed -= Frame_NavigationFailed; - } - } - - private static void Frame_NavigationFailed(object sender, NavigationFailedEventArgs e) => NavigationFailed?.Invoke(sender, e); - - private static void Frame_Navigated(object sender, NavigationEventArgs e) => Navigated?.Invoke(sender, e); - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Services/ThemeSelectorService.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Services/ThemeSelectorService.cs deleted file mode 100644 index 95435fb8b..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Services/ThemeSelectorService.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; -using System.Threading.Tasks; - -using MixedNavigationSample.CodeBehind.Helpers; - -using Windows.Storage; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Media; - -namespace MixedNavigationSample.CodeBehind.Services -{ - public static class ThemeSelectorService - { - private const string SettingsKey = "RequestedTheme"; - - public static event EventHandler OnThemeChanged = (sender, args) => { }; - - public static ElementTheme Theme { get; set; } = ElementTheme.Default; - - private static readonly SolidColorBrush _baseBrush = Application.Current.Resources["ThemeControlForegroundBaseHighBrush"] as SolidColorBrush; - - public static SolidColorBrush GetSystemControlForegroundForTheme() - { - return _baseBrush; - } - - public static async Task InitializeAsync() - { - Theme = await LoadThemeFromSettingsAsync(); - } - - public static async Task SetThemeAsync(ElementTheme theme) - { - Theme = theme; - - SetRequestedTheme(); - await SaveThemeInSettingsAsync(Theme); - - OnThemeChanged(null, Theme); - } - - public static void SetRequestedTheme() - { - if (Window.Current.Content is FrameworkElement frameworkElement) - { - frameworkElement.RequestedTheme = Theme; - } - } - - private static async Task LoadThemeFromSettingsAsync() - { - ElementTheme cacheTheme = ElementTheme.Default; - string themeName = await ApplicationData.Current.LocalSettings.ReadAsync(SettingsKey); - - if (!string.IsNullOrEmpty(themeName)) - { - Enum.TryParse(themeName, out cacheTheme); - } - - return cacheTheme; - } - - private static async Task SaveThemeInSettingsAsync(ElementTheme theme) - { - await ApplicationData.Current.LocalSettings.SaveAsync(SettingsKey, theme.ToString()); - } - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Strings/en-us/Resources.resw b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Strings/en-us/Resources.resw deleted file mode 100644 index 180e8d5d7..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Strings/en-us/Resources.resw +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Home - Page title for Home - - - Start - Page title for Start - - - Settings - Page title for Settings - - - Choose Theme - Choose theme text for Settings - - - Dark - Dark theme text for Settings - - - Windows default - Windows default theme text for Settings - - - Light - Light theme text for Settings - - - About this application - About this application title for Settings - - - Settings page placeholder text. Your app description goes here. - About this application description for Settings - - - Privacy Statement - Privacy Statement link content for Settings - - - https://YourPrivacyUrlGoesHere/ - Here is your Privacy Statement url for Settings - - - Personalization - Personalization text for Settings - - - Home - Navigation view item name for Home - - - Start - Navigation view item name for Start - - - Settings - Navigation view item name for Settings - - - This is the application start page. Click Start to navigate. - - - Start - - \ No newline at end of file diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/TextBlock.xaml b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/TextBlock.xaml deleted file mode 100644 index cde28433c..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/TextBlock.xaml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/_Colors.xaml b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/_Colors.xaml deleted file mode 100644 index e7c1acc72..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/_Colors.xaml +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/_FontSizes.xaml b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/_FontSizes.xaml deleted file mode 100644 index 23f090475..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/_FontSizes.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - 28 - 16 - - diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/_Thickness.xaml b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/_Thickness.xaml deleted file mode 100644 index 03ef95909..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Styles/_Thickness.xaml +++ /dev/null @@ -1,15 +0,0 @@ - - - - 0,0,12,7 - 0, 20, 0, 48 - - - 12,0,12,0 - 12,12,12,12 - - - 0, 8, 0, 0 - diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/HomePage.xaml b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/HomePage.xaml deleted file mode 100644 index 7895f7137..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/HomePage.xaml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/HomePage.xaml.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/HomePage.xaml.cs deleted file mode 100644 index 94ddaedd0..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/HomePage.xaml.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using System.ComponentModel; -using System.Runtime.CompilerServices; - -using Windows.UI.Xaml.Controls; - -namespace MixedNavigationSample.CodeBehind.Views -{ - public sealed partial class HomePage : Page, INotifyPropertyChanged - { - public HomePage() - { - InitializeComponent(); - } - - public event PropertyChangedEventHandler PropertyChanged; - - private void Set(ref T storage, T value, [CallerMemberName]string propertyName = null) - { - if (Equals(storage, value)) - { - return; - } - - storage = value; - OnPropertyChanged(propertyName); - } - - private void OnPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/SettingsPage.xaml b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/SettingsPage.xaml deleted file mode 100644 index a17f7a7da..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/SettingsPage.xaml +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - Light - - - - - Dark - - - - - Default - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/SettingsPage.xaml.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/SettingsPage.xaml.cs deleted file mode 100644 index 1140d2f2f..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/SettingsPage.xaml.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using System.ComponentModel; -using System.Runtime.CompilerServices; - -using MixedNavigationSample.CodeBehind.Services; - -using Windows.ApplicationModel; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Navigation; - -namespace MixedNavigationSample.CodeBehind.Views -{ - public sealed partial class SettingsPage : Page, INotifyPropertyChanged - { - //// TODO: Add other settings as necessary. For help see https://github.com/microsoft/TemplateStudio/blob/main/docs/pages/settings-codebehind.md - //// TODO: Change the URL for your privacy policy in the Resource File, currently set to https://YourPrivacyUrlGoesHere - - private ElementTheme _elementTheme = ThemeSelectorService.Theme; - - public ElementTheme ElementTheme - { - get { return _elementTheme; } - - set { Set(ref _elementTheme, value); } - } - - private string _versionDescription; - - public string VersionDescription - { - get { return _versionDescription; } - - set { Set(ref _versionDescription, value); } - } - - public SettingsPage() - { - InitializeComponent(); - } - - protected override void OnNavigatedTo(NavigationEventArgs e) - { - Initialize(); - } - - private void Initialize() - { - VersionDescription = GetVersionDescription(); - } - - private string GetVersionDescription() - { - var package = Package.Current; - var packageId = package.Id; - var version = packageId.Version; - - return $"{package.DisplayName} - {version.Major}.{version.Minor}.{version.Build}.{version.Revision}"; - } - - private async void ThemeChanged_CheckedAsync(object sender, RoutedEventArgs e) - { - var param = (sender as RadioButton)?.CommandParameter; - - if (param != null) - { - await ThemeSelectorService.SetThemeAsync((ElementTheme)param); - } - } - - public event PropertyChangedEventHandler PropertyChanged; - - private void Set(ref T storage, T value, [CallerMemberName]string propertyName = null) - { - if (Equals(storage, value)) - { - return; - } - - storage = value; - OnPropertyChanged(propertyName); - } - - private void OnPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/ShellNavigationItem.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/ShellNavigationItem.cs deleted file mode 100644 index 0849f0c92..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/ShellNavigationItem.cs +++ /dev/null @@ -1,157 +0,0 @@ -using System; -using System.ComponentModel; -using System.Runtime.CompilerServices; - -using MixedNavigationSample.CodeBehind.Services; - -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Data; -using Windows.UI.Xaml.Media; - -namespace MixedNavigationSample.CodeBehind.Views -{ - public class ShellNavigationItem : INotifyPropertyChanged - { - public string Label { get; set; } - - public Symbol Symbol { get; set; } - - public Type PageType { get; set; } - - private Visibility _selectedVis = Visibility.Collapsed; - - public Visibility SelectedVis - { - get { return _selectedVis; } - - set { Set(ref _selectedVis, value); } - } - - public char SymbolAsChar - { - get { return (char)Symbol; } - } - - private IconElement _iconElement = null; - - public IconElement Icon - { - get - { - var foregroundBinding = new Binding - { - Source = this, - Path = new PropertyPath("SelectedForeground"), - Mode = BindingMode.OneWay, - UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged, - }; - - if (_iconElement != null) - { - BindingOperations.SetBinding(_iconElement, IconElement.ForegroundProperty, foregroundBinding); - - return _iconElement; - } - - var fontIcon = new FontIcon { FontSize = 16, Glyph = SymbolAsChar.ToString() }; - - BindingOperations.SetBinding(fontIcon, FontIcon.ForegroundProperty, foregroundBinding); - - return fontIcon; - } - } - - private bool _isSelected; - - public bool IsSelected - { - get - { - return _isSelected; - } - - set - { - Set(ref _isSelected, value); - - SelectedVis = value ? Visibility.Visible : Visibility.Collapsed; - - SelectedForeground = IsSelected - ? Application.Current.Resources["SystemControlForegroundAccentBrush"] as SolidColorBrush - : GetStandardTextColorBrush(); - } - } - - private SolidColorBrush _selectedForeground = null; - - public SolidColorBrush SelectedForeground - { - get { return _selectedForeground ?? (_selectedForeground = GetStandardTextColorBrush()); } - set { Set(ref _selectedForeground, value); } - } - - private ShellNavigationItem(string label, Symbol symbol, Type pageType) - : this(label, pageType) - { - Symbol = symbol; - } - - private ShellNavigationItem(string label, IconElement icon, Type pageType) - : this(label, pageType) - { - _iconElement = icon; - } - - private ShellNavigationItem(string label, Type pageType) - { - Label = label; - PageType = pageType; - - ThemeSelectorService.OnThemeChanged += (s, e) => - { - if (!IsSelected) - { - SelectedForeground = GetStandardTextColorBrush(); - } - }; - } - - public static ShellNavigationItem FromType(string label, Symbol symbol) - where T : Page - { - return new ShellNavigationItem(label, symbol, typeof(T)); - } - - public static ShellNavigationItem FromType(string label, IconElement icon) - where T : Page - { - return new ShellNavigationItem(label, icon, typeof(T)); - } - - private SolidColorBrush GetStandardTextColorBrush() - { - return ThemeSelectorService.GetSystemControlForegroundForTheme(); - } - - public override string ToString() - { - return Label; - } - - public event PropertyChangedEventHandler PropertyChanged; - - private void Set(ref T storage, T value, [CallerMemberName]string propertyName = null) - { - if (Equals(storage, value)) - { - return; - } - - storage = value; - OnPropertyChanged(propertyName); - } - - private void OnPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/ShellPage.xaml b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/ShellPage.xaml deleted file mode 100644 index ee0cf0246..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/ShellPage.xaml +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/ShellPage.xaml.cs b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/ShellPage.xaml.cs deleted file mode 100644 index fa9fa464e..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/ShellPage.xaml.cs +++ /dev/null @@ -1,192 +0,0 @@ -using System; -using System.Collections.ObjectModel; -using System.ComponentModel; -using System.Linq; -using System.Runtime.CompilerServices; - -using MixedNavigationSample.CodeBehind.Helpers; -using MixedNavigationSample.CodeBehind.Services; - -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Navigation; - -namespace MixedNavigationSample.CodeBehind.Views -{ - public sealed partial class ShellPage : Page, INotifyPropertyChanged - { - private const string PanoramicStateName = "PanoramicState"; - private const string WideStateName = "WideState"; - private const string NarrowStateName = "NarrowState"; - private const double WideStateMinWindowWidth = 640; - private const double PanoramicStateMinWindowWidth = 1024; - - private bool _isPaneOpen; - - public bool IsPaneOpen - { - get { return _isPaneOpen; } - set { Set(ref _isPaneOpen, value); } - } - - private SplitViewDisplayMode _displayMode = SplitViewDisplayMode.CompactInline; - - public SplitViewDisplayMode DisplayMode - { - get { return _displayMode; } - set { Set(ref _displayMode, value); } - } - - private object _lastSelectedItem; - - private ObservableCollection _primaryItems = new ObservableCollection(); - - public ObservableCollection PrimaryItems - { - get { return _primaryItems; } - set { Set(ref _primaryItems, value); } - } - - private ObservableCollection _secondaryItems = new ObservableCollection(); - - public ObservableCollection SecondaryItems - { - get { return _secondaryItems; } - set { Set(ref _secondaryItems, value); } - } - - public ShellPage() - { - InitializeComponent(); - DataContext = this; - Initialize(); - } - - private void Initialize() - { - NavigationService.Frame = shellFrame; - NavigationService.Navigated += Frame_Navigated; - PopulateNavItems(); - - InitializeState(Window.Current.Bounds.Width); - } - - private void InitializeState(double windowWith) - { - if (windowWith < WideStateMinWindowWidth) - { - GoToState(NarrowStateName); - } - else if (windowWith < PanoramicStateMinWindowWidth) - { - GoToState(WideStateName); - } - else - { - GoToState(PanoramicStateName); - } - } - - private void PopulateNavItems() - { - _primaryItems.Clear(); - _secondaryItems.Clear(); - - // TODO: Change the symbols for each item as appropriate for your app - // More on Segoe UI Symbol icons: https://docs.microsoft.com/windows/uwp/style/segoe-ui-symbol-font - // Or to use an IconElement instead of a Symbol see https://github.com/microsoft/TemplateStudio/blob/main/docs/UWP/projectTypes/navigationpane.md - // Edit String/en-US/Resources.resw: Add a menu item title for each page - _primaryItems.Add(ShellNavigationItem.FromType("Shell_Home".GetLocalized(), Symbol.Document)); - _secondaryItems.Add(ShellNavigationItem.FromType("Shell_Settings".GetLocalized(), Symbol.Setting)); - } - - private void Frame_Navigated(object sender, NavigationEventArgs e) - { - var navigationItem = PrimaryItems?.FirstOrDefault(i => i.PageType == e?.SourcePageType); - if (navigationItem == null) - { - navigationItem = SecondaryItems?.FirstOrDefault(i => i.PageType == e?.SourcePageType); - } - - if (navigationItem != null) - { - ChangeSelected(_lastSelectedItem, navigationItem); - _lastSelectedItem = navigationItem; - } - } - - private void ChangeSelected(object oldValue, object newValue) - { - if (oldValue != null) - { - (oldValue as ShellNavigationItem).IsSelected = false; - } - - if (newValue != null) - { - (newValue as ShellNavigationItem).IsSelected = true; - } - } - - private void Navigate(object item) - { - var navigationItem = item as ShellNavigationItem; - if (navigationItem != null) - { - NavigationService.Navigate(navigationItem.PageType); - } - } - - private void ItemClicked(object sender, ItemClickEventArgs e) - { - if (DisplayMode == SplitViewDisplayMode.CompactOverlay || DisplayMode == SplitViewDisplayMode.Overlay) - { - IsPaneOpen = false; - } - - Navigate(e.ClickedItem); - } - - private void OpenPane_Click(object sender, RoutedEventArgs e) - { - IsPaneOpen = !_isPaneOpen; - } - - private void WindowStates_CurrentStateChanged(object sender, VisualStateChangedEventArgs e) => GoToState(e.NewState.Name); - - private void GoToState(string stateName) - { - switch (stateName) - { - case PanoramicStateName: - DisplayMode = SplitViewDisplayMode.CompactInline; - break; - case WideStateName: - DisplayMode = SplitViewDisplayMode.CompactInline; - IsPaneOpen = false; - break; - case NarrowStateName: - DisplayMode = SplitViewDisplayMode.Overlay; - IsPaneOpen = false; - break; - default: - break; - } - } - - public event PropertyChangedEventHandler PropertyChanged; - - private void Set(ref T storage, T value, [CallerMemberName]string propertyName = null) - { - if (Equals(storage, value)) - { - return; - } - - storage = value; - OnPropertyChanged(propertyName); - } - - private void OnPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); - } -} diff --git a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/StartPage.xaml b/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/StartPage.xaml deleted file mode 100644 index 589a0368c..000000000 --- a/samples/navigation/MixedNavigationSample.CodeBehind/MixedNavigationSample.CodeBehind/Views/StartPage.xaml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - -