diff --git a/MahApps.Metro/Controls/Panorama.cs b/MahApps.Metro/Controls/Panorama.cs index 6d4a4204df..8c89236e28 100644 --- a/MahApps.Metro/Controls/Panorama.cs +++ b/MahApps.Metro/Controls/Panorama.cs @@ -78,7 +78,16 @@ public Panorama() animationTimer.Interval = new TimeSpan(0, 0, 0, 0, 20); animationTimer.Tick += HandleWorldTimerTick; - animationTimer.Start(); + + this.Loaded += (sender, e) => + { + animationTimer.Start(); + }; + + this.Unloaded += (sender, e) => + { + animationTimer.Stop(); + }; } static Panorama()