Exemplo n.º 1
0
        /// <summary>
        /// Side by Side verification call to register your animation with the verifier
        /// </summary>
        /// <param name="DO">Animatable Dependency Object</param>
        /// <param name="DP">Dependency Property</param>
        /// <param name="clock">AnimationClock to register</param>
        public void RegisterAnimation(Animatable DO, DependencyProperty DP, AnimationClock clock)
        {
            AnimatableAnimationProps temp = new AnimatableAnimationProps();

            temp.animObj   = DO;
            temp.animProp  = DP;
            temp.baseValue = DO.GetAnimationBaseValue(DP);

            temp.animClock = clock;
            registeredAnimatableObjs[registeredAnimatableCount] = temp;
            registeredAnimatableCount++;
        }