title: ThemeManager does not change the style of the control
body: <p>I'm tryingn the <code>ThemeManager</code> of <code>MahApp</code> and all working well, more or less. The less part is a strange situation that doesn't change the color of my control. When I apply the new accent the text color change, but for example on the <code>GroupBox</code> I see the <code>Background</code> still white. This is my <code>App.xaml</code>:</p>
  
  <pre><code>&lt;ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                  xmlns:dragablz="clr-namespace:Dragablz;assembly=Dragablz"&gt;
  
  &lt;ResourceDictionary.MergedDictionaries&gt;
  
      &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" /&gt;
      &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" /&gt;
      &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" /&gt;
      &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/FlatButton.xaml" /&gt;
      &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.ListView.xaml" /&gt;
  
      &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" /&gt;
      &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" /&gt;
  </code></pre>
  
  <p>then I change the app style in this way:</p>
  
  <pre><code> public class AccentColorMenuData
  {
      public string Name { get; set; }
      public SolidColorBrush BorderColorBrush { get; set; }
      public SolidColorBrush ColorBrush { get; set; }
  
      private ICommand changeAccentCommand;
  
      public ICommand ChangeAccentCommand
      {
          get { return changeAccentCommand ?? (changeAccentCommand = new SimpleCommand
          {
              CanExecuteDelegate = x =&gt; true, ExecuteDelegate = x =&gt; DoChangeTheme(x) });
          }
      }
  
      protected virtual void DoChangeTheme(object sender)
      {
          var theme = ThemeManager.DetectAppStyle(Application.Current);
          var accent = ThemeManager.GetAccent(Locale.GetEnColor(Name));
          ThemeManager.ChangeAppStyle(Application.Current.Resources, accent, theme.Item1);
      }
  }
  </code></pre>
  
  <p>I followed the example of mahapp. As I said only the controls doesn't change the background color, all the other things working.</p>
  
  <p>Maybe 'cause I split my UI in <code>UserControl</code>? Thanks for any help..</p>