コード例 #1
0
        /// <summary>
        /// Enlists a dependency property value into this storyboard instance.
        /// </summary>
        /// <param name="dpValue">The dependency property value to enlist.</param>
        /// <param name="animation">The animation to apply to the dependency property.</param>
        internal void Enlist(IDependencyPropertyValue dpValue, AnimationBase animation)
        {
            Contract.Require(dpValue, "dpValue");

            var enlistment = new Enlistment(dpValue, animation);
            enlistedDependencyProperties.Add(enlistment);
        }