Search code examples
wpfvb.netanimation

WPF - Animating gridlength in XAML


I was just wondering if it's possible to animate the height of a grid using purely XAML? I looked at this tutorial: http://windowsclient.net/learn/video.aspx?v=70654

But it seems as though one need to write custom functions for this to work. Can it be done just by XAML purely?


Solution

  • its not possible out of the box because there's no such class as a GridLengthAnimation (compare with DoubleAnimation). If such a class existed (from you, microsoft or third party) then there would be a pure XAML solution.