title: MahApps.Metro: Disabling windows animation
body: <p>I'm using <a href="http://mahapps.com/MahApps.Metro" rel="noreferrer">MahApps.Metro</a> UI for my WPF application. It's a good one and satisfies my needs, but I'd be more happy if somebody told me <strong>how to disable windows animation when they pop up</strong>.</p>
  
  <p>When I call the Show() method, the new window pops up and I see an annoying animation (the content slides from right to left). The effect is similar to another one shown on the picture below (but it shows tabs and content goes left-to-right):</p>
  
  <p><img src="https://i.stack.imgur.com/mmAz1.gif" alt="Annoying content animation on popup"></p>
  
  <p>Sample of a dummy form please see below:</p>
  
  <pre><code>&lt;controls:MetroWindow x:Class="TestProj.Views.TestView"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
       xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
           mc:Ignorable="d" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
           xmlns:vm="clr-namespace:TestProj.ViewsModels"
           Height="230" Width="550"&gt;
  &lt;Window.Resources&gt;
      &lt;ResourceDictionary&gt;
          &lt;ResourceDictionary.MergedDictionaries&gt;
              &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml" /&gt;
              &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" /&gt;
              &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" /&gt;
          &lt;/ResourceDictionary.MergedDictionaries&gt;
      &lt;/ResourceDictionary&gt;
  &lt;/Window.Resources&gt;
      &lt;Grid&gt;
      &lt;/Grid&gt;
  &lt;/controls:MetroWindow&gt;
  </code></pre>