示例#1
0
 /// <summary>
 /// Begins adjustable animation for a GridlengthAnimation.
 /// Holds animation end value without Holding it. i.e. Allows it to change after animation without resetting it. Should be possible in WPF...maybe it is.
 /// </summary>
 /// <param name="element">Element to start animation on.</param>
 /// <param name="dp">Property to animate.</param>
 /// <param name="anim">Animation to perform. GridLengthAnimation only for now.</param>
 public static void BeginAdjustableAnimation(this ContentElement element, DependencyProperty dp, GridLengthAnimation anim)
 {
     element.BeginAdjustableAnimation(dp, anim, anim.To);
 }