public static void SaveThemeInIsolatedStorage(ThemeStoreInfo info) { IsolatedStorageHelper<ThemeStoreInfo>.TryStore(info, Global.Theme.IS_UserCurrentThemeInfo); }
/// <summary> /// Saves the theme in isolated storage. /// </summary> /// <param name="themeIndex"> Index of the theme.</param> public static void SaveThemeInIsolatedStorage(int? themeIndex, BackgroudColorStyle backgroundStyle = BackgroudColorStyle.Light) { var info = new ThemeStoreInfo() { CurrentPaletteIndex = themeIndex, CurrentBackgroundStyle = backgroundStyle }; SaveThemeInIsolatedStorage(info); }