Ejemplo n.º 1
0
        private static void OnPivotPointChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            Manipulable man = (Manipulable)sender;

            man._mprocessor.PivotPointX = (float)man.PivotPoint.X;
            man._mprocessor.PivotPointY = (float)man.PivotPoint.Y;
        }
Ejemplo n.º 2
0
        private static void OnMinimumScaleRotateRadiusChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            Manipulable man = (Manipulable)sender;

            man._mprocessor.MinimumScaleRotateRadius = (float)man.MinimumScaleRotateRadius;
        }
Ejemplo n.º 3
0
        private static void OnSupportedManipulationsChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            Manipulable man = (Manipulable)sender;

            man._mprocessor.SupportedManipulations = (MANIPULATION_PROCESSOR_MANIPULATIONS)man.SupportedManipulations;
        }