Esempio n. 1
0
        private static void OnTranslationXValueChanged(DependencyObject source, DependencyPropertyChangedEventArgs e)
        {
            ZoomContainer thisElement = (ZoomContainer)source;

            //update Actual Transform
            thisElement.UpdatePrivateXTranslationValue(thisElement.TranslateTransformX);
        }
Esempio n. 2
0
        private static void OnScaleYValueChanged(DependencyObject source, DependencyPropertyChangedEventArgs e)
        {
            ZoomContainer thisElement = (ZoomContainer)source;

            //update Actual Transform
            thisElement.UpdatePrivateScaleValues(thisElement.ScaleTransformY);
        }