private AnimationExpression GetInitializedAnimationExpression(DependencyProperty dependencyProperty) { IDependencyPropertyValueEntry entry = GetValueEntry(dependencyProperty); AnimationExpression animationExpression = entry.GetAnimationValue(false) as AnimationExpression; if (animationExpression == null) { animationExpression = new AnimationExpression(this, dependencyProperty); entry.SetAnimationValue(animationExpression); } return(animationExpression); }
public void SetAnimationValue(object value) { source.SetAnimationValue(value); }