public void ActivateTheme(ApplicationThemeItem applicationThemeItem)
        {
            foreach (var themeItem in Themes)
            {
                if (themeItem.IsActive)
                {
                    UnLoadThemeResources(themeItem.Resources);
                    themeItem.IsActive = false;
                }
            }

            LoadThemeResources(applicationThemeItem.Resources);
            applicationThemeItem.IsActive = true;
        }
        public void ActivateTheme(ApplicationThemeItem applicationThemeItem)
        {
            foreach (var themeItem in Themes)
            {
                if (themeItem.IsActive)
                {
                    UnLoadThemeResources(themeItem.Resources);
                    themeItem.IsActive = false;
                }
            }

            LoadThemeResources(applicationThemeItem.Resources);
            applicationThemeItem.IsActive = true;
        }