I tried this code:

Storyboard storyboard = new Storyboard(); ScaleTransform scale = new ScaleTransform(1.5, 1.5); RenderTransformOrigin = new Point(0.5, 0.5); RenderTransform = scale; // Недопустимое преобразование для Window DoubleAnimation growAnimation = new DoubleAnimation(); growAnimation.Duration = TimeSpan.FromMilliseconds(300); growAnimation.From = 1; growAnimation.To = 1.8; storyboard.Children.Add(growAnimation); Storyboard.SetTargetProperty(growAnimation, new PropertyPath("RenderTransform.ScaleX")); Storyboard.SetTarget(growAnimation, this); 
  • What do you want to do? - Andrew NOP
  • Window scaling animation - deadmoz5er
  • Whole window whole? Together with the title and system buttons? - Andrew NOP
  • Only windows and everything - deadmoz5er
  • one
    Animate not the window itself, but the root panel, which is in it - Andrey NOP

0