protected override System.Windows.Freezable CreateInstanceCore()
 {
     GridLengthAnimation anim = new GridLengthAnimation();
     anim.EasingFunction = new CubicEase();
     anim.Duration = TimeSpan.FromSeconds(1);
     return anim;
 }
        protected override System.Windows.Freezable CreateInstanceCore()
        {
            GridLengthAnimation anim = new GridLengthAnimation();

            anim.EasingFunction = new CubicEase();
            anim.Duration       = TimeSpan.FromSeconds(1);
            return(anim);
        }