public void Run()
 {
     this.currentConfiguration = this.GetOrCreateThemeConfiguration();
     // MahApps.Metro.ThemeManager.InvalidateSystemResourcesOnBackgroundThread = true;
     ApplyConfiguration(this.currentConfiguration);
     using (var reg = new ThemeRegistrySettings())
     {
         FlyoutTheme = reg.FlyoutTheme;
     }
 }
        public void ApplyFlyoutTheme(FlyoutTheme theme)
        {
            FlyoutTheme = theme;

            using (var reg = new ThemeRegistrySettings())
            {
                reg.FlyoutTheme = theme;
            }

            OnFlyoutThemeChanged();
        }
        public void ApplyFlyoutTheme(FlyoutTheme theme)
        {
            FlyoutTheme = theme;

            using (var reg = new ThemeRegistrySettings())
            {
                reg.FlyoutTheme = theme;
            }

            OnFlyoutThemeChanged();
        }
 public void Run()
 {
     currentConfiguration = GetOrCreateThemeConfiguration();
     // MahApps.Metro.ThemeManager.InvalidateSystemResourcesOnBackgroundThread = true;
     ApplyConfiguration(currentConfiguration);
     using (var reg = new ThemeRegistrySettings())
     {
         FlyoutTheme = reg.FlyoutTheme;
     }
 }