public static void SetBackgroudStyle(BackgroudColorStyle backgroudStyle)
 {
     ThemeColors.PaletteInstance.BackgroudStyle = backgroudStyle;
 }
 protected virtual void OnBackgroudStyleChanged(BackgroudColorStyle oldValue, BackgroudColorStyle newValue)
 {
     InvalidadeDymanicColors();
 }
        /// <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);
        }