title: C# WPF - TransitioningContentControl with App.content
body: <p>I Work with the theme of MahApps (Metro Dark) I looked the animations of this theme.</p>
  
  <p>I came to a dead end: indeed I created a system to switch between different UserControl, that is to say that I have only one window and clicking on different buttons, I have this or such UserControl. But now I am with this system switch, I have no animation (only the start of the application).</p>
  
  <p>How can I make an animation for each change in UserControl (Keeping Metro theme)?</p>
  
  <p>Somebody ask me : use TransitioningContentControl</p>
  
  <p>But i made my switcher like this :</p>
  
  <pre><code>class Switcher
  {
      public static UserControl WClient;
      public static UserControl WHome;
      public static UserControl WDataBase;
  
      public Switcher()
      {
          WClient = new Windows.Client();
          WHome = new Windows.Home();
          WDataBase = new Windows.DataBase();
      }
  
      public static void currentWindow(UserControl window, string color)
      {
  
          Window curApp = Application.Current.MainWindow;
          curApp.Content = window;
  
          if (window == WClient)
          {
              curApp.Title = "CLIENT - INFO-TOOLS - BY NAOGRAFIX";
          }
          else if (window == WDataBase)
          {
              curApp.Title = "DATABASE - INFO-TOOLS - BY NAOGRAFIX";
          }
          else
          {
              curApp.Title = "HOME - INFO-TOOLS - BY NAOGRAFIX";
          }
  
          currentColor(color); 
    }
  </code></pre>
  
  <p>}</p>
  
  <p>Now, when i clic on a button (to switch userControl) i use this :</p>
  
  <pre><code>private void BtnDataBase_Click(object sender, RoutedEventArgs e)
  {
       var color = "Red";
  
       if (DataBase.isConnected) { color = "Green"; }
       Switcher.currentWindow(Switcher.WDataBase, color);
  }
  </code></pre>
  
  <p>I use CONTENT, i dont know if i can use TransitioningContentControl</p>
  
  <p>Help :)</p>
  
  <p>Nao*</p>