Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public object GetAnimationValue(bool flattened)
 {
     return(source.GetAnimationValue(flattened));
 }