Ejemplo n.º 1
0
        /// <summary>
        /// All of the Color Bloom transition functionality is encapsulated in this handy helper
        /// which we will init once
        /// </summary>
        private void InitializeTransitionHelper()
        {
            // we pass in the UIElement that will host our Visuals
            _transition = new ColorBloomTransitionHelper(HostForVisual);

            // when the transition completes, we need to know so we can update other property values
            _transition.ColorBloomTransitionCompleted += ColorBloomTransitionCompleted;
        }
Ejemplo n.º 2
0
        /// All of the Color Bloom transition functionality is encapsulated in this handy helper
        /// which we will init once

        private void InitializeTransitionHelper()
        {
            transition = new ColorBloomTransitionHelper(hostForVisual);

            surroundButtonTransition = new ColorBloomTransitionHelper(anotherHost);
            // we pass in the UIElement that will host our Visuals
            transition = new ColorBloomTransitionHelper(hostForVisual);
            //buttonTransition = new ColorBloomTransitionHelper(hostForButtonVisual);
            surroundButtonTransition = new ColorBloomTransitionHelper(anotherHost);
            transition.ColorBloomTransitionCompleted += ColorBloomTransitionCompleted;
            //surroundButtonTransition.ColorBloomTransitionCompleted += SurroundButtonTransition_ColorBloomTransitionCompleted;
        }