Ejemplo n.º 1
0
        /// <summary>
        /// Sets the initial animation values to the provided target element.
        /// </summary>
        /// <param name="target"></param>
        public override void ApplyInitialValues(UIElement target)
        {
            base.ApplyInitialValues(target);
            AnimationContext context = new AnimationContext(target);

            context.InitializeOpacity(this.StartOpacity);
        }